D
Dominique Vandensteen
I have a Table to which I add a LinkButton in the PreRender event
The LinkButton is visible on the webpage but when I click it,
the LinkButton_Click method is not called and the page just "reloads"
anybody an idea what I'm missing here?
Private Sub Page_PreRender(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.PreRender
Dim addRootLink As New LinkButton
AddHandler addRootLink.Click, AddressOf LinkButton_Click
... add linkbutton to table
End Sub
The LinkButton is visible on the webpage but when I click it,
the LinkButton_Click method is not called and the page just "reloads"
anybody an idea what I'm missing here?
Private Sub Page_PreRender(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MyBase.PreRender
Dim addRootLink As New LinkButton
AddHandler addRootLink.Click, AddressOf LinkButton_Click
... add linkbutton to table
End Sub