I am using VB.Net and VS 2008 to develop my web app (that was initially created by someone else).
When I launch the app, pretty much ALL the pages get loaded (by that I mean the page_load event is triggered). This happens even for pages that I created. When this happens, the app throws some errors (if a particular value has not been loaded from the database) and thus results in javascript errors (yellow icon at the bottom of IE).
How can I figure out “what” is causing the pages to load, and how can I prevent the pages from being loaded without code-prompting.
Thanks
Use the debugger – set a breakpoint at the start of the Page_Load method in the first page (possibly
/default.aspx) and step through the code using F11 / F10