setting up start up page
-
hi friends i am using visual studio 2008 i created a master page and many content pages but i am not able to set the master page as my start up page. if i want to run the project i have to select any of the aspx pages then that page gets executed so plz do help me in this issue K.Gayathri
-
hi friends i am using visual studio 2008 i created a master page and many content pages but i am not able to set the master page as my start up page. if i want to run the project i have to select any of the aspx pages then that page gets executed so plz do help me in this issue K.Gayathri
You can't set master page as start up page. You have to set any of content page as master page. This content page first execute the master page part and then content page code.
-
hi friends i am using visual studio 2008 i created a master page and many content pages but i am not able to set the master page as my start up page. if i want to run the project i have to select any of the aspx pages then that page gets executed so plz do help me in this issue K.Gayathri
MalarGayu wrote:
but i am not able to set the master page as my start up page.
that is because a masterpage cannot be a default page, only content pages can fill this role. another to take into consideration is what your server will also server as the default start page. IIS for instance usually wants a page named index or default to be available. if you don't create that default page that IIS wants then you are only going to have to deal with configuration matters down the road when you go to deploy the application.
as if the facebook, twitter and message boards weren't enough - blogged
-
MalarGayu wrote:
but i am not able to set the master page as my start up page.
that is because a masterpage cannot be a default page, only content pages can fill this role. another to take into consideration is what your server will also server as the default start page. IIS for instance usually wants a page named index or default to be available. if you don't create that default page that IIS wants then you are only going to have to deal with configuration matters down the road when you go to deploy the application.
as if the facebook, twitter and message boards weren't enough - blogged