TipsOnLips.net

Your .net tips and tricks source

About the author

Author Name is someone.
E-mail me Send mail

Recent comments

Authors

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010


ASP.NET Refresh Page using JavaScript

Examples 

<asp:Button ID="btnNewSearch" runat="server" OnClientClick="javascript:location.reload();" Text="New Search" />

or

<input type="button" value="Reload Page" onClick="window.location.reload()">

<input type="button" value="Reload Page" onClick="history.go(0)">

<input type="button" value="Reload Page" onClick="window.location.href">
 


Tags: ,
Categories: ASP.NET | JavaScript
Posted by Admin on Sunday, March 15, 2009 4:32 AM
Permalink | Comments (0) | Post RSSRSS comment feed
Comments are closed