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

repeater and gridview diff? Why is repeater fast than gridview?

3 Answers   TCS,


What are strong names?

0 Answers  


What is Forms Authentication in ASP.NET?

0 Answers  


Can you explain the importance of finalize method in .net?

0 Answers  


How to Open any web page by clicking any Any ASPControl like (Checkbox,radio button or Button) without calling its event and without going to Siverside code?

5 Answers   LG Soft,






For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this?

2 Answers   Microsoft,


Can you edit data in the Repeater control?

4 Answers   Siebel Systems,


What is sequence of code in retrieving data from database?

3 Answers   Accenture,


Describe session handling in a webfarm?

0 Answers  


What is the current version of asp.net?

0 Answers  


About Usage of server variables ?

2 Answers   Cognizant, CTS,


How to add DateTime Control in normal DataGrid Server Control?

0 Answers  


Categories