Skip to content
Loading
Need pop up page values in the parent page
  • Krishna Garad
    Exactly what is happening? Popup not getting open or values does not come on parrent page from popup page?
    If popup not getting open check your browser allows popup windows.
    If you are using button control on popup window and providing OnClick="javascript:f2();" as attribute then it will give the error it's server side event for client side you need to provide like for button control onclientclick="javascript:f2();" which is client side event.
    if your are using hyperlink then onclick is valid.

    Please elaborates what's the error is occuring?.
  • B M Suchitra
    Yes Krishna ,
    I did exactly the same as you told but its not working. Is there any other alternative to my requirement.

    I really got exhausted
  • Krishna Garad
    onclick is not valid attribute it is the compile time error so ignore it and modify the script like bellow on your popup form

  • B M Suchitra
    Hi Krishna,

    The file u have attached i tried to run it in VS 2008. It gives me an error that onclick is not a valid attribute. Thats y i said in previous reply that its not working.. Also i have to pass dropdown selected values from pop up page to parent page.


    @Suthish,

    Sir where have u passed the openpopup function in the 1st page?
  • Krishna Garad
    this reply din't helps you. I had given one demo app here.