asp.net mvc - Action method not getting called when I refresh page (MVC/Javascript) -


i have pop window uses following code call action method when checkbox checked:

window.location.href('@url.action("process", "wip")'); 

this works fine, need window refresh when checkbox checked. added following under previous line:

window.location.reload(true); 

but somehow causes first line not call action method @ all. 2 "window.location" lines tripping on each other or something?


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -