Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

Finding a found page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zdrakec - 15 Jul 2005 13:50 GMT
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

 

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.