A
Alessandro
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.EventArgs) Handles MyBase.Load
Dim oImageButton As New System.Web.UI.WebControls.ImageButton()
oImageButton.CssClass = "tab"
oImageButton.ID = "test"
oImageButton.CommandName = "test"
oImageButton.CausesValidation = True
oImageButton.EnableViewState = True
PlaceHold.Controls.Add(oImage)
end
relative server command on click, any idea ?
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim oImageButton As New System.Web.UI.WebControls.ImageButton()
oImageButton.CssClass = "tab"
oImageButton.ID = "test"
oImageButton.CommandName = "test"
oImageButton.CausesValidation = True
oImageButton.EnableViewState = True
PlaceHold.Controls.Add(oImage)
end