Karma Garda's Snippet Diary
Thursday, 20 August 2009
How to close a window with an asp button (ASP.Net) using Javascript
A really handy way to do this:
<a href="#" onClick="javascript:window.close();">
<asp:Button ID="btnCancel" Text="Cancel" runat="server" />
</a>
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.