Skip to content
Loading
0
  • B M Suchitra
    0
    Hi Krishna,

    Pop up is opening but values from pop up page are not getting passed to the parent page. In the pop up page i have drop down controls who`s values also should be passed to parent page..

    Like this. In the pop up page user enters street,city,state,country,zipcode. All these values should get passed to txtaddress.text of the parent page


    @Suthish,

    Sir where have u passed the openpopup() function in the 1st page.. I want it at the checkbox checked
    0
  • Krishna Garad
    0
    Write down this script on popup window i.e frmentry.aspx


    it will pass the values of popup window to perrent window i.e frmcontacts.aspx
    0
  • B M Suchitra
    0
    Hi Krishna,

    This is the SubmitPage() function i have written:


    But don`t know y it is not working
    0
  • Krishna Garad
    0
    replace opener.window.getelementById
    with
    window.opener.document.getElementById('txtaddress').value = address;
    and call the function on your ok button onclientclick.
    0
  • B M Suchitra
    0
    Yes,

    I replaced it and called the function like this:

     

    But still not working. Dont know where it is going wrong
    0
  • Krishna Garad
    0
    try to run my attachment in previous thread it's working f9. I think you are missing the flow.
    0
  • B M Suchitra
    0
    Hi Krishna,

    Its must work. Ur attachment does not open it is giving some error.

    Plzz can u go through this attachment and correct me..

    Thanks
    0
  • B M Suchitra
    0
    Hi,

    In your attachment u r hard coding the dropdown control.
    But i have loaded the control from database table. Is it because of that i am not able to get the values in parent page?
    0
  • Krishna Garad
    0
    loading dropdown from database it's not a issue but the script which is written on popup page is not able to find out the opener page.
    0
  • B M Suchitra
    0
    Hi Krishna,

    Then what is the solution for my problem?
    0
  • Krishna Garad
    0
    Check this link may solve the problem.
    0