H
hhbcw
Hi all,
Sorry for reposting this message to this newsgroup. I have already posted
the same message to http://forums.asp.net but haven't received any answer so
far.
I hope someone in here can help me out with this problem:
I have started to use the new history feature of ASP.NET 3.5 SP1.
Everything works fine so far. I can add history points and the back
forward button do their jobs.
But there is still one problem: it doesn't always fire the OnNavigate.
I try to explain it with an example:
- I browse to www.someofmydomains.com
- clicking on a button --> adding one history point (i.e.
www.someofmydomains.com#&&test=ABC)
- bookmark this history point
- opening a new browser
- browse to any other site than the bookmarked one (or even an empty browser
is ok)
- choose the bookedmarked history point
--> the OnNavigate gets fired. Perfect.
But as I said it is not always the case:
- we will use the same bookmark
- open a new window and browse to www.someofmydomains.com
- and select the bookedmarked history point again
--> the event doesn't get fired.
I have further tested and have noticed:
- if I browse i.e. to www.someofmydomains.com/default.aspx
- and choose the bookmarked link again it works too.
So, somehow I get the feeling it works the first time only
if the address is different.
And btw, this problem only occurs when I try to use a
bookmarked link in a current session for the first time
and if the bookmarked url (excluding the everything after
the hash now) and the current site url are the same.
When I get it once running (i.e. by changing from root to default.aspx)
all other bookmarkes that
follow fire the event OnNavigate without any problems.
Have you seen the same behaviour?
Is there something I could do to fix this issue?
Thanks to everyone!
Best regards,
Hans
Sorry for reposting this message to this newsgroup. I have already posted
the same message to http://forums.asp.net but haven't received any answer so
far.
I hope someone in here can help me out with this problem:
I have started to use the new history feature of ASP.NET 3.5 SP1.
Everything works fine so far. I can add history points and the back
forward button do their jobs.
But there is still one problem: it doesn't always fire the OnNavigate.
I try to explain it with an example:
- I browse to www.someofmydomains.com
- clicking on a button --> adding one history point (i.e.
www.someofmydomains.com#&&test=ABC)
- bookmark this history point
- opening a new browser
- browse to any other site than the bookmarked one (or even an empty browser
is ok)
- choose the bookedmarked history point
--> the OnNavigate gets fired. Perfect.
But as I said it is not always the case:
- we will use the same bookmark
- open a new window and browse to www.someofmydomains.com
- and select the bookedmarked history point again
--> the event doesn't get fired.
I have further tested and have noticed:
- if I browse i.e. to www.someofmydomains.com/default.aspx
- and choose the bookmarked link again it works too.
So, somehow I get the feeling it works the first time only
if the address is different.
And btw, this problem only occurs when I try to use a
bookmarked link in a current session for the first time
and if the bookmarked url (excluding the everything after
the hash now) and the current site url are the same.
When I get it once running (i.e. by changing from root to default.aspx)
all other bookmarkes that
follow fire the event OnNavigate without any problems.
Have you seen the same behaviour?
Is there something I could do to fix this issue?
Thanks to everyone!
Best regards,
Hans