Tutorial :Reload page without the message box showing



Question:

Does anyont know how to reload an aspx page through javascript without the message box popping up asking if you want to refresh the page?


Solution:1

Three different ways:

window.location.reload()    history.go(0)    window.location.href=window.location.href  


Solution:2

I've just been using (javascript) window.location.reload(), but given your tags (asp.net and c#2.0), I get the feeling that's not the answer you're looking for.


Solution:3

I just found the answer I was looking for, document.forms[0].submit();


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »