Visibilty of controls inside tab - bug?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Xexax
    New Member
    • Feb 2008
    • 2

    Visibilty of controls inside tab - bug?

    Hi,

    I have got this weird problem. I have two tab pages in the windows application. The two tabs have some controls in them. The problem is, based on user actions on one page, i want to turn the visibility of controls in the another tab. But i cannot set visible = true for controls in the another page.

    what should i do?

    Thanks
    xexax
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    this is for a web application then, since you said "pages"?

    Set Session[] object values to corrospond to visibility and then when the other page loads, check the session to see if there is any instructions for what to hide/show and act accordingly.

    Comment

    • Xexax
      New Member
      • Feb 2008
      • 2

      #3
      I'm sorry if i haven't expressed myself properly. This is not a web application. but its an windows application. The "pages" i meant are the TabPages in the windows form.

      Thanks..

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Ahhh.
        Well that should be fine to do?
        Unless maybe switching a tab implicitly sets all the controls to visible?
        Try using like disable or some other property to see if they are set correctly?

        Comment

        Working...