Panel.Visible = True also make child controls visible.

Discussion in 'ASP .Net' started by spamfurnace, May 24, 2004.

  1. spamfurnace

    spamfurnace Guest

    Hi There.
    I have a panel that i display to the user after they have entered some data.
    On that panel is a label which is set to visible = false at design time. If
    i make the panel visible however it shows the label. This is no big deal, i
    just set the label back to false again after i show the panel.

    I just wanted to check this is normal behviour or is there an overrride. I
    really only want to show the panel and any of it's visible child controls
    not all of them. I dont want this bubble down effect.

    TIA
    Richard
    spamfurnace, May 24, 2004
    #1
    1. Advertising

  2. spamfurnace

    Scott M. Guest

    This is normal behavior.


    "spamfurnace" <> wrote in message
    news:...
    > Hi There.
    > I have a panel that i display to the user after they have entered some

    data.
    > On that panel is a label which is set to visible = false at design time.

    If
    > i make the panel visible however it shows the label. This is no big deal,

    i
    > just set the label back to false again after i show the panel.
    >
    > I just wanted to check this is normal behviour or is there an overrride. I
    > really only want to show the panel and any of it's visible child controls
    > not all of them. I dont want this bubble down effect.
    >
    > TIA
    > Richard
    >
    >
    Scott M., May 24, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Patrick Olurotimi Ige
    Replies:
    7
    Views:
    5,962
    Patrick Olurotimi Ige
    Jun 15, 2005
  2. Jeff Rodriguez
    Replies:
    23
    Views:
    1,116
    David Schwartz
    Dec 9, 2003
  3. bdb112
    Replies:
    45
    Views:
    1,339
    jazbees
    Apr 29, 2009
  4. Replies:
    0
    Views:
    202
  5. Andrea Williams

    User control not visible when setting .Visible = true;

    Andrea Williams, Jan 26, 2004, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    513
    Andrea Williams
    Jan 28, 2004
Loading...

Share This Page