How can use window. showmodaldialog to open a. ASPX page pop up window.

Source: Internet
Author: User
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 PopUp window is. ASPX page that contains a radio button list (a list of citys ). when I select one city, it shoshould bring it back to the opener window. actually, what is happening now is that, when I click on particle 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.