How to get the child window's parameters.

  1. #1

    How to get the child window's parameters.

    I have a page named A.aspx. In A.aspx I defined a <ext:window ID="win"> and set the autoUrl for win to B.aspx.
    When I call I do something in B.aspx. I need get the parameters in B.aspx when win.close().
    How can I do this?
  2. #2
    I don't understand what you want to do, if you want to post some parameters to A.aspx, you can do it like this:

    1. define a function in A.aspx

    function kakagu( params )
        alert( params );
    2. call this function in B.aspx

    parent.kakagu( 'test' );
    Last edited by geoffrey.mcgill; Apr 07, 2012 at 3:28 PM. Reason: please use [CODE] tags
  3. #3
    We will meet this requiment anywhere.
    In C/S Application, I always deal with this as belows.
    1, Define two form: A.form and B.form, A.form have some business. B.form maybe have support some of parameters needed by A.form. Such as selection for personels.
    2, B.form achieve common requiments. For example, selection for personels.
    3, If I need select for personel, I can call B.form in A.form. And not only A.form can call B.form but also other forms can too.

    In your solution, you define function in A.aspx, and B.aspx call A.aspx. So I need define the same function in all parent pages?

Similar Threads

  1. Replies: 6
    Last Post: Feb 15, 2012, 5:15 PM
  2. Replies: 7
    Last Post: Feb 09, 2012, 12:17 PM
  3. [CLOSED] How to display child window outside Parent window
    By Hari_CSC in forum 1.x Premium Help
    Replies: 1
    Last Post: Jul 02, 2010, 12:06 PM
  4. Replies: 0
    Last Post: Jul 28, 2009, 4:53 PM
  5. Replies: 1
    Last Post: Apr 01, 2009, 1:24 PM

Posting Permissions