//Find out the view state value in another page but you can find only Init and page load event and only redirect on another page Server.Transfer than you can get the value otherwise it will give error to you...
//first page
take one text box with name of textbox1.text and fill the value of text box.....
//second page init and load event
Page Poster = this.PreviousPage;
TextBox txtNewTest = (TextBox)Poster.FindControl("TextBox1");
string sDisplay = txtNewTest.Text;
Response.Write(sDisplay);
Thursday, March 25, 2010
Subscribe to:
Posts (Atom)