Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
2 Points
1 Post
Mar 05, 2009 10:09 AM|LINK
Hi,
Try accessing the previous page control value like this,
Source page :
<asp:TextBox runat="server" id="_txtName" /> <br /> <asp:Button runat="server" PostBackUrl="targetpage.aspx" text="Next" />
In the code behind of targetpage.aspx,
string name = Request["_txtName"];
Prathmesh Ko...
Member
2 Points
1 Post
Re: ASP.NET 2.0 - Accessing controls in the previous page
Mar 05, 2009 10:09 AM|LINK
Hi,
Try accessing the previous page control value like this,
Source page :
<asp:TextBox runat="server" id="_txtName" /> <br />
<asp:Button runat="server" PostBackUrl="targetpage.aspx" text="Next" />
In the code behind of targetpage.aspx,
string name = Request["_txtName"];