U
Ufit
Dim img As New ImageButton
Page.Controls.Add(img)
It works with Image but ImageButton gives this error:
Control '1' of type 'ImageButton' must be placed inside a form tag with runat=server.
What's wrong???
Thanks
Ufi
Page.Controls.Add(img)
It works with Image but ImageButton gives this error:
Control '1' of type 'ImageButton' must be placed inside a form tag with runat=server.
What's wrong???
Thanks
Ufi