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


Please Help Members By Posting Answers For Below Questions

How can exception be handled with out the use of try catch?

546


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

572


How to prevent client side validation from the ASP.NET validation controls?

575


What is rich control in asp.net?

522


What is OSI layer? Explain different layers.

607






can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?

1751


What are the merits and demerits of viewstate?

581


Explain a program using code nuggets to create a simple application? : asp.net mvc

510


What is Razor View Engine

605


Where is cookie used in asp.net?

575


How does u get record no from 5 to 15 from a dataset of 100 records?

515


What is the default Orientation property in a Menu control?

536


How does the iis work?

545


What is the differences between a primary key and a unique key in sql server?

536


What is difference between ispostback and autopostback in asp net?

516