Ask a Question related to ASP.NET General, Design and Development.
-
Kurt #1
Removin a user control
If I load 4 user controls using LoadControls is there a way to remove 1 of
them?
Thanks!
Kurt
Kurt Guest
-
user control problem access value from user control to a page
Thanks a lot for paying attention to my problem , i tell u the problem i have a main form in which i gave a login label that points to a... -
Web user control creation - Resolve an ImageUrl property if control themed
Hi I'm creating a WebControl which has a themeable ImageUrl property : <Bindable(True), Category("Appearance"),... -
Dynamically Adding User Control with Child User Control
I have a user control that has a child user control. If I drag this onto the page, it appears and functions normally. If I attempt to add the... -
Know in user control page_load if an user control event is going to be fired
Hi all, i have built a user control that shows a map and let the user zoom in, out, usual stuff. Putting this object in a webform the user can... -
Page Load fired 3 times Web user control is embedded in a custom control
Hi, I have built a custom control that build a table with 3 cells in it. The custom control is designed to add all child controls to cell#2,... -
Karl Seguin #2
Re: Removin a user control
Remove it from what? What are you adding it to? Page.LoadControl doesn't
actual add the loaded control to the control tree...it simply loads it..much
like calling "new".
Are you adding it to the controls collection of another control? such as the
page or a placeholder? If so, the controls collection which you ADDed to,
also has a remove and removeAt method.
Karl
"Kurt" <k_nojunk@larimore.net> wrote in message
news:OPWTcvLQDHA.3088@TK2MSFTNGP10.phx.gbl...> If I load 4 user controls using LoadControls is there a way to remove 1 of
> them?
>
> Thanks!
> Kurt
>
>
Karl Seguin Guest



Reply With Quote

