by josh
16. December 2010 04:03
this came in handy for closing custom item edit forms from codebehind:
//Close modal dialog
Response.Write("<script type='text/javascript'>window.frameElement.commitPopup();</script>");
Response.Flush();
Response.End();
used at the end of button submit handler.
Category:
Tags: