In asp.net 3.5 we can go one page to onther page without
using statemanagment concept?



In asp.net 3.5 we can go one page to onther page without using statemanagment concept?..

Answer / 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

More ASP.NET Interview Questions

Explain the concept of View Model in MVC?

0 Answers   B-Ways TecnoSoft,


What is the Global ASA(X) File?

2 Answers  


What's a bubbled event?

3 Answers   Siebel,


What do you mean by caching in asp.net?

0 Answers  


Name the tools or API for developing or testing web api?

0 Answers  


Where is http session stored?

0 Answers  


What is custom tag in web.config ?

2 Answers   Accenture, BirlaSoft,


What is the question mark in a url?

0 Answers  


what are the main advantage in .net?

4 Answers   TCS,


What is .NetFramework?

1 Answers   Syntel,


What is the difference between session and viewstate in asp.net?

0 Answers  


Which control would you use if you needed to make sure the values in two different controls matched?

2 Answers  


Categories