dimanche 30 août 2015

How to reload page without _layout query string parameter

Page url is in form

http://ift.tt/1NQrEZJ

Page contains button "reset layout" which invokes javascript code:

        window.location.reload();

How to reload page without _layout=somevalue2 parameter ? Is it possible/reasonable to use javascript for this ? This is ASP.NET MVC3 application. If javascript not reasonable, how to call server side controller for this ?

jquery and Bootstrap 3 are used.

Aucun commentaire:

Enregistrer un commentaire