amma.NETtami

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

mercoledì 22 agosto 2007

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.

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (1) | Filed Under [ ASP.NET ShowModalDialog ]

Powered by:
Powered By Subtext Powered By ASP.NET