Hi there
I have a sub that loads when the page first loads and an image button (one of a few dynamic controls) that should run the same sub when clicked - the form is posting back, but the dynamic controls are not when the image button is clicked.
Any idea why this could be happening?
The Addhandler part of the code
Dim vMainImage As New ImageButton
vMainImage.ID = "MainImage" & vPropID
vMainImage.AlternateText = "Main Image"
vMainImage.CssClass = "imgButton"
vMainImage.ToolTip = vDescription
AddHandler vMainImage.Click, AddressOf MainImage
The Sub
Private Sub LoadDefault()
Dim vPropID As Integer = Session("Property_ID")
If Not IsNumeric(vPropID) Then
ErrorBox("There ...
Go to the complete details ...