Hello all:
I have a detail page from which the user clicks a hyperlink to get a
list page. On the list page, I have included a hyperlink whose
NavigateURL property is set, at run time, to be the URL of the detail
page (with the same items in the URL string). However, when I click
this hyperlink from the list page, instead of getting the detail page
again, I get "The Page Cannot Be Found"...even though I have verified
that the NavigateURL is correct. I do NOT want to rely on the browser's
Back button for this...
Anyone point me in the right direction?
Thanks,
zdrakec
zdrakec - 15 Jul 2005 14:18 GMT
Never mind, fixed it...thanks!
Hans Kesting - 15 Jul 2005 14:45 GMT
> Hello all:
>
[quoted text clipped - 11 lines]
> Thanks,
> zdrakec
What is the real URL that arrives in that hyperlink in the browser?
If you use a relative path, ASP.Net read it as "relative to the control
or page the hyperlink is defined in" and tries to translate it.
Note: you can use a ~ in front of the path, which will be replaced by
the root of your application. Then you can use "absolute" paths without
knowing where it is installed.
Hans Kesting
zdrakec - 15 Jul 2005 14:54 GMT
It's a relative path, but the problem was even simpler...
I'm embarrassed to admit there was a typographical error, which was
very hard to see.
Thank you for the information, however.
Cheers,
zdrakec
Robert Smith - 16 Jul 2005 16:53 GMT
list page. On the list page, I have included a hyperlink whose
NavigateURL property is set, at run time, to be the URL of the detail
page (with the same items in the URL string). However, when I click
this hyperlink from the list page, instead of getting the detail page
again, I get "The Page Cannot Be Found"...even though I have verified
that the NavigateURL is correct. I do NOT
> Hello all:
>
[quoted text clipped - 11 lines]
> Thanks,
> zdrakec