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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of using MVC programming pattern in ASP.NET?

750


Explain server side state management system.

723


What is asp.net master page?

735


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1797


How many types of file extensions for razor views in ASP.Net MVC?

762






Describe the diffeerence between inline and code behind?

712


What are asp.net web forms?

726


What is query string with example?

696


Is asp.net mvc front end or backend? : Asp.Net MVC

668


What is the difference between equals() and == in c#?

733


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

875


In order to get assembly info which namespace we should import?

740


What is marshalling ? Is it a part of asp.net ?

799


Explain difference betn dataset and recordset?

680


What is clr? Difference between clr & cts?

851