Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

asp.net getting values from a form

Options
  • 01-06-2007 4:12pm
    #1
    Registered Users Posts: 872 ✭✭✭


    Hi,

    Another easy question i should know the answer to...

    I have a page with 7 hidden fields. The values of these fields are getting set in the code behind.

    I do a server.transfer to another page and in this other page i do Request.Form("field") but nothing is coming through.

    I know i can use HttpContext but this is for realex and i think i just need to be able to POST over values.

    Thanks


Comments

  • Closed Accounts Posts: 250 ✭✭GP


    Page originalPage = (Page)Context.Handler;

    TextBox textBox1 = (TextBox)originalPage.FindControl("textBox1");


Advertisement