|
-
Apr 12th, 2006, 03:50 AM
#2
Addicted Member
Re: How to pass text to a textbox of another Page?
some ways
1 you can by querystring
response.redirect("page2.aspx?Uid=" + textbox1.text);
2. if is FW2 you can by PostBackUrl
<asp:Button ID="Button2" runat="server" PostBackUrl="~/searchForum/searchResult.aspx"
Text="search" />
and to get the value from the other page:
Response.Write(Page.PreviousPage.FindControl("titleBody").ToString());
3. by session.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|