In asp.net 3.5 we can go one page to onther page without
using statemanagment concept?
Answer Posted / mahesh
Yes, We can use Cross-page posting, see below code.
if (Page.PreviousPage != null)
{
TextBox SourceTextBox =
(TextBox)Page.PreviousPage.FindControl("TextBox1");
if (SourceTextBox != null)
{
Label1.Text = SourceTextBox.Text;
}
}
Is This Answer Correct ? | 23 Yes | 6 No |
Post New Answer View All Answers
How do I know asp.net mvc version? : Asp.Net MVC
What is the use of ASP.NET routing?
What is difference in .net 1.1 and .net 2.0?
How is my content secured from unauthorized access?
What is the difference between server-side scripting and client-side scripting?
Explain the overview of asp.net?
What are the asp.net 2.0 features?
What is owin authentication?
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
How can you access the properties and controls of master pages from content pages?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
Where the viewstate is stored after the page postback?
Apart from IDE what are the enhancements in asp.net 2.0?
What are session cookies?
Where web.config file is used?