asp.net mvc - MVC: Application URL doesn't update on page navigation -
in our mvc 4 application, there intermittent issue in internet explorer 9 page navigation not update browser url. seems happen when navigation due controller method using return view(...) navigation.
this has been seen twice , both times in ie9, fact that's it's happened more once lead me believe might problem our code.
has else seen/experienced or have cause? appreciated.
try using return jsonresult ajax hope in controller
jsonresult jr=new jsonresult(); jr.datarequestbehavior=jr.datarequestbehavior.allowget; jr.data="something"; $.ajax({ ..... ..... .... success:function(response){ window.location("/ controller/action"); }
});
my syntax may wrong
Comments
Post a Comment