Feb 22, 2008, 7:00 AM
Programmatically add and change controls
Hi fellas!
It would be nice if you could include some more examples on how to manage the controls from a codebehind page.
<ul>[*]How to add content to panels[*]How to add controls to the content of other controls[*]How to hide/show controls from a click of a regular button etc..[/list]
Stuff like this does not seem to work. How would I do it correctly? (Window1 is created on the aspx page)
- jonah
It would be nice if you could include some more examples on how to manage the controls from a codebehind page.
<ul>[*]How to add content to panels[*]How to add controls to the content of other controls[*]How to hide/show controls from a click of a regular button etc..[/list]
Stuff like this does not seem to work. How would I do it correctly? (Window1 is created on the aspx page)
protected void Button1_Click(object sender, EventArgs e)
{
Window1.Visible = true;
}
Cheers!- jonah