M
mazdotnet
Hi,
I have a user control that I add dynamically. Once certain action is
performed I want to remove it completely.
My questions are
1. How do you check to see if a user control already exists or not?
2. How do you remove it after it's been added?
I added by doing the following
Control ActivateOrderControl = LoadControl("activatelicense.ascx")
panelView.Controls.Add(ActivateOrderControl);
Thank you
Maz.
I have a user control that I add dynamically. Once certain action is
performed I want to remove it completely.
My questions are
1. How do you check to see if a user control already exists or not?
2. How do you remove it after it's been added?
I added by doing the following
Control ActivateOrderControl = LoadControl("activatelicense.ascx")
panelView.Controls.Add(ActivateOrderControl);
Thank you
Maz.