Thanks for the link to the NG, I will move over there if I could not get
answer here. To answer questions --
By modify I meant few data calls from DB are changed. That will *no way*
affect redirection of page.
For the page load, I have done that trick to find where is page load going.
But nothing happened.
It is wired correctly. I checked connections. Even if it is not wired it
should not redirect without any code.
I am running VS2005, yes I put breakpoints, and it is in debugger mode. Only
addition now I have is that that breakpoint becomes yellow ring with
pointing that this code will not reach. This is for page_load even I am
talking about.
These all things I have done and tried that is why I am very puzzled. I have
no way to talk to the person who wrote this everything is so open that makes
me look like a stupid. I have searched every single code file (even that are
not related) to make sure there is no line that might be redirecting or
directing that page to default page.
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message
news:eD**************@TK2MSFTNGP03.phx.gbl...
"JohnAD" <no*****@this.comwrote in message
news:uM***************@TK2MSFTNGP02.phx.gbl...
>Maybe it is a wrong NG but posting here because I have got some great
replies from here.
Well, microsoft.public.dotnet.framework.aspnet is the newsgroup
*specifically* for ASP.NET issues, but no matter...
>When I modify that page, somehow it is redirecting to default page. I
have done my best to find any location that might be doing that and I
can't find a single place where it might be doing that.
"Modify that page"...? What did you actually do...?
>I am someone how able to put brake points on page_load event. In fact
page load even is never even called.
Are you absolutely sure about that...? Put the following statement as the
first line of the page's Page_Load event:
Response.Redirect("http://www.microsoft.com", false);
If suddenly you're looking at Microsoft's homepage, then Page_Load *is*
being called.
If your page is wired up correctly and is pointing to its codebehind
class, it's difficult to imagine how it wouldn't fire the Page_Load
event...
>How can I force it to brake into debugger?
Well, firstly:
1) what version of Visual Studio.NET?
2) are you running in Debug mode or Release mode?
3) have you actually set a breakpoint in the Page_Load event...?