Sunday, July 31, 2011

Set Start Up page on Visual studio IDE

Today I want to work on one project but unfortunately I miss the location where it actually save.so I though when I open visual studio I can find it from Visual studio IDE start page recent opened project list but unfortunately something is change so start page is not loading when I open visual studio IDE it display like

 sratpagemsdn

I think for while there should be a setting in visual studio IDE.I start  digging  on net for few minutes and I found there is a setting in Visual studio menu Tools—>options where we can  configure start up page with following six option  provided by Visual studio IDE

  1. Open Home Page
  2. Load last loaded solutions
  3. Show open project dialog box
  4. show new project dialog box
  5. show empty environment
  6. show start page

Options

In above figure you can see a setting like show start up page option. I configure this option for show start up page with recent project list.now I reopen my visual studio IDE and I can able to see visual studio IDE with start up page like

Startpage

There is another option is also for see recent opened  project list like like File—>Recent Projects and Solutions

that’s done from my side.It may helpful to you.Thanks for reading happy coding!!

Thank You

Kirti Darji

Friday, July 8, 2011

page life cycle of master page with content page

Generally one question is faced by very developer what is asp.net page life cycle every body know very well like sequence of asp.net page event like

  1. page_init
  2. Page_load
  3. Page_render
  4. Page_unload

it is fine for standalone pages but if a page have master page then what the page life cycle? confuse!!!

Below is the sequence of event of page events which contain master page  with chronological order.

  1. Master page (Page_Init) event
  2. Content page (Page_Init) event
  3. Content page (Page_Load) event
  4. Master page (Page_Load) event
  5. Content page (Page_Prerender) event
  6. Master page (Page_Prerender) event
  7. Content page (Page_Prerendercomplete) event
  8. Master page (Page_Prerendercomplete) event

Remember one thing  page life cycle of page contain master page all event fire like first master page event then content page event but in case of page load event first content page load event fire then master page event fire. so that’s all from my side

I think It may help you, Happy coding, stay turned for more…

Thank You

Kirti M.Darji