Saturday, March 31, 2012

Strange behavior issue

Hi everyone,

I have a asp.net web site with a button to perform a popup window

the window is show modal dialog window.

the popup works fine until there is a refresh of the popped up window

through a postback.

It doesn't refresh the popped up window, it creates a new window entirely.

Has anyone seen this before and how do i stop it from opening a new window on postback?

thanks

tony

That's because is a DIALOG box... It's not designed for interaction. There are ways but its really not standard for web programming. You are better off with a regular popup page or doing it in the page you are in.


the popup works fine until there is a refresh of the popped up window through a postback."

the popup window is a client side window build upon the client machine using some windows API (::createwindowmaybe), u can never expect to refresh/modify it using post back.

Hope my suggestion helps :)

0 comments:

Post a Comment