Passing Hidden Variable from Master Page.

Discussion in 'ASP.NET 2.0' started by zipp96, Dec 23, 2007.

  1. I have been working on an issue for a couple of days now. I am trying to pass a textbox value from the master page to a aspx page on my website. The master page has a textbox with a submit button on it. When the person submits they are transferred to a page that needs the variable from the textbox. I don't want to pass the value in the URL. Once I have the value on the page I want to have the variable open in an iframe on the next page.

    So I have tried the following with no luck:
    1. Session variable - set on submit from the textbox on the master page. This does work on the page with the iframe and the home page only. I can't get every master page submit to work correctly. I even try to clear the session variable and reset it.

    2. I have tried the previous.page call also. I couldn't get it to work at all.

    I am using Visual Web Developer 2008.

    Any ideas as to how I can get this to work?

    Larry
     

Share This Page