amma.NETtami

.NET walkabout
posts - 11, comments - 18, trackbacks - 0

ShowModalDialog and ASP.NET postback

Whenever you use a postback in a modal window, magically Internet Explorer fires the event in a new page.

To avoid Internet Explorer to act like that, just add...

<base target="_self" />

... wherever you want, just before the HTML Tag or simply in between the HEAD tag of your HTML page.

Print | posted on mercoledì 22 agosto 2007 20:28 | Filed Under [ ASP.NET ShowModalDialog ]

Powered by:
Powered By Subtext Powered By ASP.NET