C
carlos.cruz
Hi,
I trying to create dinamicaly hyperlinks, which I manage to do with the
following code:
Protected Overrides Sub OnPreRender(ByVal e As EventArgs)
ctl = New HyperLink
ctl.Target = "_blank"
ctl.ID = "hl"
ctl.Text = "Algeco.pt"
ctl.NavigateUrl = "http://www.algeco.pt"
Me.Controls.Add(ctl)
ctl = New HyperLink
ctl.Target = "_blank"
ctl.ID = "h2"
ctl.Text = "Solbinet.pt"
ctl.NavigateUrl = "http://www.solbinet.pt"
Me.Controls.Add(ctl)
MyBase.OnPreRender(e)
End Sub
The question is how can I set the position.
Thanks in advance
CC
I trying to create dinamicaly hyperlinks, which I manage to do with the
following code:
Protected Overrides Sub OnPreRender(ByVal e As EventArgs)
ctl = New HyperLink
ctl.Target = "_blank"
ctl.ID = "hl"
ctl.Text = "Algeco.pt"
ctl.NavigateUrl = "http://www.algeco.pt"
Me.Controls.Add(ctl)
ctl = New HyperLink
ctl.Target = "_blank"
ctl.ID = "h2"
ctl.Text = "Solbinet.pt"
ctl.NavigateUrl = "http://www.solbinet.pt"
Me.Controls.Add(ctl)
MyBase.OnPreRender(e)
End Sub
The question is how can I set the position.
Thanks in advance
CC