btn.Attributes.Add("OnClick", "self.close()");
will do the trick.
Another alternative is
Response.Write (" < script > self.close() ; < /script >
");
Subscribe to:
Post Comments (Atom)
A blog about commonly used programming data information for quick refreshing of memory.
No comments:
Post a Comment