V
vladvadeanu
I have this problem...
I want to add controls to a WebForm (any kind of controls... panels,
buttons, datagrids,...) at runtime and I could do that with
HtmlControls :" Label myLabel = new Label();
this.Controls.Add(myLabel) " but I don't know how to add events to
them such as onClick, OnKeyDown... There is a ServerClick event that
doesn't seem to be working...
If anyone could help me :wink:
I want to add controls to a WebForm (any kind of controls... panels,
buttons, datagrids,...) at runtime and I could do that with
HtmlControls :" Label myLabel = new Label();
this.Controls.Add(myLabel) " but I don't know how to add events to
them such as onClick, OnKeyDown... There is a ServerClick event that
doesn't seem to be working...
If anyone could help me :wink: