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!

相关文章:

  • 2021-08-07
  • 2021-12-08
  • 2022-12-23
  • 2021-07-21
  • 2021-06-15
  • 2022-12-23
  • 2021-06-16
  • 2022-03-08
猜你喜欢
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2022-02-28
  • 2021-08-15
  • 2022-02-22
  • 2021-07-30
相关资源
相似解决方案