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

Hi please tell me what is ISNOTPOSTBACK,POSTBACK,AUTOPOSTBACK and also the extensions of aspx,asmx,ascx its urgent plz reply me soon....

6 Answers   Logica CMG,


Explain < @OutputCache% > and the usage of VaryByParam, VaryByHeader ?

1 Answers  


What is a form tag?

0 Answers  


Define repository pattern in asp.net mvc? : asp.net mvc

0 Answers  


Why session is necessary in web application?

0 Answers  






What is the use of @Register directives?

3 Answers  


How do you open a page in a new window?

0 Answers  


Mention few asp.net validators.

0 Answers  


Does the following statement executes successfully: Response.Write(?value of i = ? + i);

4 Answers   TCS,


What is the request flow used for asp.net mvc framework? : asp.net mvc

0 Answers  


Distinguish between Server-side and Client-side code with its functionality?

0 Answers   Siebel,


What is razor? : asp.net mvc

0 Answers  


Categories