Removing a user control from within a placeholder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    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.


  • 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:e1ub3E9PDH A.1216@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Hi all,
    >
    > How do I go about removing a user control from within a placeholder[/color]
    control?[color=blue]
    >
    > 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.
    >
    >[/color]


    Comment

    Working...