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

How does session state work in asp.net?

0 Answers  


To redirect the user to another page which method do we use without performing a round trip to the client?

0 Answers   Siebel,


What is server redirect?

0 Answers  


What is difference between mvc and asp.net? : Asp.Net MVC

0 Answers  


Difference between Array and ArrayList? How Array is benifitful than ArrayList?

3 Answers   Tech Mahindra,






Difference between Htttppost and Httpget Methods?

3 Answers   Infosys, Microsoft,


Why should i prefer JSP over asp.net or any other web development language..??

0 Answers  


To match the two different controls which control would we use ?

2 Answers   Siebel,


What Is ASPNET_WP.exe? What Is The Use Of It? In Which Place Inproc Session Stored ? Explain Session State ?

2 Answers   Phoenix Technologies,


when i want to use asp.net configuration for creat users and roles i recived this message: There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store. The following message may help in diagnosing the problem: Unable to connect to SQL Server database. when i clicked the choose data source button that give me another message that is this: Use this page to configure how Web site management data such as membership is stored. You can use a single provider for all the management data for your site or you can specify a different provider for each feature. Your application is currently configured to use the provider: AspNetSqlProvider Select a single provider for all site management data Select a different provider for each feature (advanced) ------------------------- and this message was reapeted in other choose again. please help me if u know why i gave that message so i wont can creat my users and roles

0 Answers  


How many types of validation controls are provided by ASP.NET?

8 Answers  


what is Impersonation

3 Answers   Alliance One, Task Informatics,


Categories