Fengzhimei@Dot.Net
Designing My Colorful Dream
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
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!
posted on 2004-05-20 16:09  fengzhimei  阅读(12500)  评论(27编辑  收藏  举报