tag:blogger.com,1999:blog-7253819249303788337.post8741155275211515642..comments2017-03-16T04:47:59.453-07:00Comments on Dave Barrows Tech Blog: Close SharePoint Modal Dialog from within SilverlightDavidBarrowshttp://www.blogger.com/profile/14523842675012634279noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7253819249303788337.post-80552897417239524442011-07-01T00:11:50.652-07:002011-07-01T00:11:50.652-07:00You're welcome, and, nice addition! Thanks!You're welcome, and, nice addition! Thanks!DavidBarrowshttps://www.blogger.com/profile/14523842675012634279noreply@blogger.comtag:blogger.com,1999:blog-7253819249303788337.post-46996363123309830102011-06-30T09:31:23.780-07:002011-06-30T09:31:23.780-07:00Thanks for posting this. I used your code and adde...Thanks for posting this. I used your code and added a URL parameter to the commitPopup function so now the modal dialog closes and my form gets redirected.<br /><br />StringBuilder js = new StringBuilder();<br />js.Append("function CloseDialog() {");<br />js.Append(string.Format(" window.frameElement.commitPopup('{0}');", this.RedirectUrl));<br />js.Append("}");Flip Flops On 5thhttps://www.blogger.com/profile/11529549502090791791noreply@blogger.com