I used the below script to reload the page after performing some operation.

 function pagereload() {
     window.location.href = window.location.href.split("?")[0];
<input name="reload" onclick="pagereload()" type="button" value="Reload"/>

However while one of the lists is in edit mode and URL becomes


instead of


I think the #InplviewHash928c998b-fdf1-449e-ac91-20acfdc5fcd9=ShowInGrid%3DTrue is not allowing the page to reload

how do i get around this problem?

1 Answer 1


I was able to get this done with location.reload();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.