control from popup top parent window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tommy

    control from popup top parent window

    I have a pop-up form. Once user click "OK" button and it trigger onClick
    button event. It will do something in server side. Now I want to "paste" the
    result to the opener form text box. How to do it in server side? thanks.


  • Jacek Stawicki

    #2
    RE: control from popup top parent window

    There is no way to do this in server side. After post back in pop-up window
    make some action in JavaScript (e.g. onLoad event) and put value into opener
    window:

    opener.document .myForm.myTextB ox.value = document.myForm PopUp.MyTextBox .value;
    window.close();


    --
    C# Dev


    "Tommy" wrote:
    [color=blue]
    > I have a pop-up form. Once user click "OK" button and it trigger onClick
    > button event. It will do something in server side. Now I want to "paste" the
    > result to the opener form text box. How to do it in server side? thanks.
    >
    >
    >[/color]

    Comment

    Working...