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
What are server-side comments in ASP.NET?
What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?
Explain the difference between panel and groupbox classes using .net?
What is the page life cycle in asp.net?
while developing webservices if i want some users to use my webservice only how can i give security to my webservice?
Who can consume WebAPI?
What is difference between rest and soap?
What is the difference between CLICK and MOUSE DOWN Event ?
Explain method to handle error using HttpError in Web API?
What is asynchronous call?
How does asp page work?
What is the use of web.config and machine.config files?
Where session id is stored?
Where would you use an ihttpmodule, and what are the limitations if any?
Explain the asp.net mvc request life cycle? : asp.net mvc