Ask a Question related to ASP.NET General, Design and Development.
-
John #1
Removing a user control from within a placeholder
Hi all,
How do I go about removing a user control from within a placeholder control?
The thing is I need to get the current usercontrol value from the place
holder before removing it as the placeholder is used to contain multiple
user controls.
Regards
John.
John Guest
-
Dynamically Loading User Control in PlaceHolder
Hi , I load dynamically a user control in PlaceHolder with the number of fileds in db. When loading user control there is no problem, if returning... -
Dynamically loading user control into Placeholder gives Object reference not set to an instance of an object
I've created user controls that contain listboxes that are dynamically populated from the database. In the html view of the user control... -
Build control in a placeholder or like a placeholder
Hi. I create a new custom control and it works fine. But now, I need to put it in any place on the page, like the placehold control do. Someone... -
Dynamicly loaded User Control events in a Placeholder
I am having a problem of receiving UserControl events which gets dynamicly loaded within a Placeholder on a main.aspx page. If I explictly place... -
Add control to asp:PlaceHolder on asp.net page from user control on same page
Thanks for the suggestion, but I'm trying to use querystrings as a last resort. Any other ideas? Dan "Alessandro Zifiglio"... -
zPaul #2
Re: Removing a user control from within a placeholder
You declare the user control from code-behind and set visible=false.
"John" <a@b.com> wrote in message
news:e1ub3E9PDHA.1216@TK2MSFTNGP11.phx.gbl...control?> Hi all,
>
> How do I go about removing a user control from within a placeholder>
> The thing is I need to get the current usercontrol value from the place
> holder before removing it as the placeholder is used to contain multiple
> user controls.
>
> Regards
> John.
>
>
zPaul Guest



Reply With Quote

