same URL for each of my pages

Nov 15, 2007 at 5:41 AM
why is it that the URL for each of my pages are the same? For example, if my application has the url, on every page (within my application) that I go to, the address bar will show this same url.

I would like to be able to distinguish between the different pages on my application and have my querystrings visible


Nov 18, 2007 at 9:08 PM
Your app is an iFrame, right? You can't. The navigation is happening within the context of the frame, not the browser.
Nov 19, 2007 at 5:26 PM
Edited Nov 19, 2007 at 5:27 PM
use the function below instead of response.redirect

the function can be found in the basepagehelper.

private void RedirectTopFrame(HttpResponse response, string url)
response.Write("<script type=\"text/javascript\">\n" +
"if (parent != self) \n" +
"top.location.href = \"" + url + @"&v=1.0" + "\";\n" +
"else self.location.href = \"" + url + @"&v=1.0" + "\";\n" +

I'm not sure what the &v-1.0 are for. so i commented them out of my copy, you decide...

Hope this helps