Issue Description
I want to use window.showModalDialog to open a pop up window and then select a value in the Pop up window and return it back to Opener window. My pop up window is an .aspx page that contains a radio button list (a list of citys). When I select one city, it should bring it back to the opener window.Actually, what is happening now is that, when I click on particular city,a new blank window appears which is undesirable.
Note: the RadioButtonList has autopostback property set to true.
Solution
Note: the RadioButtonList has autopostback property set to true.
Maybe you have known that Iframe or frame is the solution, there is a sample : http://www.zzgyxx.com/bbs/dispbbs.asp?boardID=21&ID=916.but I don't want to use it because it's very awkward.
There is other way can do it , just add the code <base target="_self"> on the modal web page between <head> and </head>.Very effectually!
There is other way can do it , just add the code <base target="_self"> on the modal web page between <head> and </head>.Very effectually!