In ASP.NeT Form, I want to show/hide 3 panels with click of 3 buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arti
    New Member
    • May 2007
    • 13

    In ASP.NeT Form, I want to show/hide 3 panels with click of 3 buttons

    In Asp.net form, I have 3 panels. I want a button on top of each panel to hide or display the panel. I am able to do it. But when there is any postback, the page loads with its design time setting- all panels are visible=false.
    On each panel I have a submit button and asp.net List with autoPostBack=Tr ue. So the form will postback to server.
    I want that if a panel was open at the time of postback, it should be open at page reload.
    Pl help!
  • dixonjm
    New Member
    • Jun 2007
    • 32

    #2
    Maybe save the panels visible property in Session & retrieve accordingly.

    Comment

    • arti
      New Member
      • May 2007
      • 13

      #3
      Originally posted by dixonjm
      Maybe save the panels visible property in Session & retrieve accordingly.
      Thanx, I'll try that.

      Comment

      Working...