Finding a found page

  • Thread starter Thread starter zdrakec
  • Start date Start date
Z

zdrakec

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 said:
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

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
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top