How can i dyanmic add/ remove button? send value with button?

Jul 24, 2012 at 12:07 PM

Now I can dynamic add button , but i cant dynamic remove.

The button click , will be hidden, and dynamic add label. 

Then the button how can i send value ??

 

ExtAspExt.button bt = new button();

bt.id="button"+i;

bt.click =  new EventHandler(button_Click);

Coordinator
Aug 16, 2012 at 2:55 AM

What do you mean "send value"?

 

In most case, the dynamic add control logic stays in Page_Init