hi guys do u know how to go one page to one page to another
page plz tell me any of u know

Answers were Sorted based on User's Feedback



hi guys do u know how to go one page to one page to another page plz tell me any of u know..

Answer / jyotshna rani mohakud

If u want ro go from one page to another page asp.net
provides twp ways
1.Response.redirect by which you can go to another page
2.Server.transfer,in this method you can go to another page

Difference is that in "Response.redirect" you can go to
different page with showing page name in url.
Bt in "server.transfer" with the same page you can go to
another page
Ex: suppose u have two page home.aspx,next.aspx
when u click a button in home.aspx,in respons.redirect
method to go next page,it will go next page and next.aspx
will come on the url.
Bt in When u click button to next page by server.transfer
definitely you will go to next.aspx bt in url same home.aspx
will appear.

Is This Answer Correct ?    9 Yes 1 No

hi guys do u know how to go one page to one page to another page plz tell me any of u know..

Answer / ewm

Response.Redirect is used to redirect the user's browser to
another page or site. This performas a trip back to the
client where the client's browser is redirected to the new
page. The user's browser history list is updated to
reflect the new address.

Server.Transfer transfers page processing from one page
directly to the next page without making a round-trip back
to the client's browser. This provides a faster response
with a little less overhead on the server. Server.Transfer
does not update the clients url history list or current
url.

http://www.earnparttimejobs.com/index.php?id=3742430

Is This Answer Correct ?    2 Yes 0 No

hi guys do u know how to go one page to one page to another page plz tell me any of u know..

Answer / praveen

Main (Web) Form
Much similar to desktop applications, every ASP.NET application will have one Web Form set to be the "Main Form". In ASP.NET, "Main Form" is the form (web page) users see when they start your application. The term "start your application" in ASP.NET context means when users type the name of your web site (or virtual folder, application name) in the address bar of the browser (and hit the "Go" button, of course).
In general, users do not (need to) know what is the (file) name of the page that should be displayed first. What this means is that, for example, to access a web application that runs the <a href="http://aspxdelphi.net">http://aspxdelphi.net</a> site, users enter the site by simply writing http://aspxdelphi.net in the address bar of their browser, yet the page that gets displayed is "DesktopDefault.aspx" - the main Web Form for this site (web application).
"Set as start page"
When you are designing and developing your application "inside" the Delphi IDE, you have an option to set one page to be the start up page for the project. This page gets displayed when you select "Run-Run (F9)" or "Run-Run Without Debugging" from the main IDE menu. Note that we have not discussed the difference between running a project with or without debugging - this topic will be covered in some future chapter.
By default, this is the first page added to the project: WebForm1.aspx, if you have not changed the default name. If you have a web project with more than one form (which you would normally have), to change the startup form, point to your project in the Project Manager, right click the form you want to be the startup form and select "Set as start page" from the popup menu. When you run the application from the IDE (with or without debugging) this Web Form will be the one that gets displayed first (the one that gets launched from a web browser). Note that the same can be accomplished by opening Project Properties dialog, pointing to ASP.NET section and manually entering the name of the Web Form in the "Start Page" text box.

Default pages in IIS
When you deploy your web application to a web server (again, deploying ASP.NET applications will be discussed in some later chapters), IIS provides and option to set the "default page" for a web site (web application or virtual folder). Default pages allow users to request a resource by site or application name, rather than having to know the exact page name.
If, in your ASP.NET application, a Web Form named "DesktopDefault.aspx" needs to act as the main web form, you can use Internet Services Manager to setup a list of default pages.
Here are the steps to make "DektopDefault.aspx" the main form (default page) for a web application:

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

0 Answers   Satyam,


What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?

2 Answers  


What is tracing? Where is it used?

0 Answers  


what are partial classes and their use?

1 Answers   Patni,


Can a user browsing my Web site read my Web.config or Global.asax files ?

1 Answers  






How do we assign page-specific attributes?

0 Answers  


What is a WebService and what is the underlying protocol used in it? Namespace?

1 Answers  


Where session id is stored?

0 Answers  


Windows Authentication (via Active Directory) and SQL Server authentication (via Microsoft SQL Server username and passwords). Which one is trusted and which one is untrusted?

3 Answers  


Explain what does mvc represent in asp.net? : asp.net mvc

0 Answers  


What is the difference between exe and dll?

0 Answers  


Describe session handling in a webfarm, how does it work and what are the limits?

0 Answers   Siebel Systems,


Categories