Monday, December 14, 2009

Modal Window redraws itself on postback

This is a known issue with IE 7/8, that a window opened using window.showModalDialog redraws itself upon postback.

The solution to this problem is that the following statement be added to the <head> tag of the page:

<base target = "_self" />

This should do the trick.

1 comment:

  1. Wonderful bloggers like yourself who would positively reply encouraged me to be more open and engaging in commenting.So know it's helpful. SQL Server Training in Chennai