More in this section

Forums / Developing with Sitefinity / Passing Values of hidden field to next page

Passing Values of hidden field to next page

3 posts, 0 answered
  1. Oleg
    Oleg avatar
    7 posts
    Registered:
    02 Mar 2009
    23 Mar 2009
    Link to this post
    Hi. I have few hidden input controls on the project master page. The values of this controls updated by javascript onclick. How can I pass this values to a next page? Server code in this master page:
    protected void Page_Load(object sender, EventArgs e)
    {
    string text = myHiddenControl.Value;
    }

    does not catch the changes made on previous page?

    Ideas?

    Thanks
  2. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    24 Mar 2009
    Link to this post
    Hello Oleg,

    how are you changing pages? QueryStrings, cookies, sessions are a common way to pass information from one page to another, however, we'd need to know a bit more about the scenario you are trying to accomplish in order to help you.

    We'll be waiting for your response.

    All the best,
    Ivan
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Oleg
    Oleg avatar
    7 posts
    Registered:
    02 Mar 2009
    25 Mar 2009
    Link to this post
    Hi.
    Thank you for your reply. You are right, it easier to pass info in query string, so  I did this and problem gone.

    Rgds, Oleg.
Register for webinar
3 posts, 0 answered