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

Out of ASP or ASP.NET which one is stateless?

0 Answers   BirlaSoft,


HI, I have a very important query in mind. Please help me regarding this. I don't have any real time exp in .net. But I have a knowledge it .net. I got an offer from an MNC company as a software developer has I had kept 2 years of fake exp. Even though for this job I had worked hard to crack interview for more then a year. So, I would like to know how difficult it will be for working in real time as I don't have real time exp. Please tell me as soon as possible bcoz I need to join by next month. Can i sustain over there for a longer time or not. And also let me know how to work pressure will be over there. Please help me regarding this. I'm getting tension thinking about it. Thank you.

1 Answers   CTS,


Code for updating the database by entering the data into textboxes in aspx form?

2 Answers   TCS, Wipro,


What are the merits and demerits of viewstate?

0 Answers   Siebel,


what is the difference between this.controls and page.form1.controls and me.controls?

2 Answers   FactorH,






What is MVVM in dot net?

1 Answers   L&T,


In Crystal Report Refresh Button is not working. when I click on it it givesh error like "missing parameter values " I have used propery of Crystal Viewer like ReuseParameterValuesOnRefresh="True" but this also not working. Plz give me any solution.

1 Answers  


How many types cache in asp net?

0 Answers  


What is app_code folder in asp net?

0 Answers  


What is the difference between ASP.NET Webforms and ASP.NET MVC?

0 Answers  


What is the Global.asax used for?

9 Answers  


if i have 1000 records and i want to access 20 ata time from SQL server, what will be the query?

9 Answers   Mind Tree,


Categories