Application.HashChanged

0
0

Hi

I try to pass some parameters as following :

http://localhost:3452/?search=value
http://localhost/test/?search=value

seem can’t trigger Application.HashChanged unless I pass by :

http://localhost:3452/#search=value
http://localhost/test/#search=value

Is it possible to use “?” rather than “#” in link, thanks a lot.

Regards,

Ben

  • You must to post comments
0
0

When you change the URL by adding a parameter the browser will always reload the page. You can handle it using the Application.ApplicationRefresh event. The new arguments will be in the Application.QueryString collection.

When you change the hash of the URL the browser will not reload and will only fire the hash changed event . Wisej routes the hash changed event to Application.HashChanged carrying the new hash string in the event args.

  • Ben Lau
    Thanks Luca, it ok now. Ben
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.