Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

Raúl Ribeiro

Windows SharePoint Services 3.0 , .net, Microsoft Office SharePoint 2007, Office 2007 and 2010

News

Posting back in a modal popup

If you have a server-side form that needs to post back to itself, and that form is in a window made available through window.showModalDialog call, the postback will cause a new, blank window to be shown. 

The best way to solve this problem is to include the following tag in the <head/> section of your HTML source:
<base target="_self"/>

Posted: Wednesday, May 23, 2007 5:44 AM by rrr
Filed under:

Comments

No Comments

Anonymous comments are disabled