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
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.
Please login first to submit.