how to access the buttons of one form from another form.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ana sid

    how to access the buttons of one form from another form.

    Hi. I want to access the buttons on one form from another form to control the visibility of the buttons.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    You could use Server.Transfer to transfer the user between pages. There is a setting with Server.Transfer that lets you gain access to controls on other pages.

    However, what I recommend that you do is store a flag in Session that indicates the visibility state of the buttons.

    -Frinny

    Comment

    Working...