S
Snorre
Hi
Can anybody explain to me how to dynamically add a usercontrol? When I try
to use the this.Controls.Add the control is added, but none of the
usercontrol member controls are instanciated.
The workaround I have done is to add the control to the aspx and set visible
to false. Not very elegant, so I would really like to add the control from
the codebehind file instead.
Can anybody explain to me how to dynamically add a usercontrol? When I try
to use the this.Controls.Add the control is added, but none of the
usercontrol member controls are instanciated.
The workaround I have done is to add the control to the aspx and set visible
to false. Not very elegant, so I would really like to add the control from
the codebehind file instead.