i want to create dinamicaly an image Button, but i'm not able to associate a
relative server command on click, any idea ?
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
Dim oImageButton As New System.Web.UI.W ebControls.Imag eButton()
oImageButton.Cs sClass = "tab"
oImageButton.ID = "test"
oImageButton.Co mmandName = "test"
oImageButton.Ca usesValidation = True
oImageButton.En ableViewState = True
PlaceHold.Contr ols.Add(oImage)
end
relative server command on click, any idea ?
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
Dim oImageButton As New System.Web.UI.W ebControls.Imag eButton()
oImageButton.Cs sClass = "tab"
oImageButton.ID = "test"
oImageButton.Co mmandName = "test"
oImageButton.Ca usesValidation = True
oImageButton.En ableViewState = True
PlaceHold.Contr ols.Add(oImage)
end
Comment