Monday, 15 March 2010

asp.net - onhashchange and backstack only working on localhost -



asp.net - onhashchange and backstack only working on localhost -

i using hash alter , onhashchange event in webpage. when testing locally (w/ asp.net development server), window.onhashchange event fires , hash changes pushed backstack. when website deployed server (iis 7.5), visiting same browser on same client machine, event doesn't fire , though can see hash changed in address bar, aren't pushed backstack , key leads previous page. there iis/asp.net config should tweak?

it turns out ie compatibility mode. problem solved answer: http://stackoverflow.com/a/5887271/986080.

asp.net web-config localhost

No comments:

Post a Comment