SUBWindow for selection of values

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default SUBWindow for selection of values

    Hi all,
    Trying to figure out how to generate a subwindow with data based on field
    values from a main window. The ASP application is mostly written in
    VBSCRIPT. Wants to:

    1. Create the subwindow, NOW accomplished by javascript connected with
    search-button
    2. Get the values from the fields in the main window to the subwindow, NOW
    accomplished by javascript
    3. Search (serverside) in a oracle database based on the field-values, and
    display matches.
    4. Based on user selection (link ?) return the values to the main window
    fields, has NOW been able to do
    this with "dummy" values using javascript.

    The problems seems to be to communicate the prametervalues from the main
    window to the subwindow.
    An alternative may be to use QueryString to transmit it to the window, and
    javascript to transmit it back to the main window. Suggestions and
    source-exmples would be appreciated.

    Thanks
    Stein


    news.online.no Guest

  2. Similar Questions and Discussions

    1. read row values from datagrid and populate in new datagrid values from connected
      Hello, i am new in asp.net and i am having a question: I am having a datagrid_1 in which i am showing the context of PatientDetails table....
    2. Why don?t the location values in the Sprite Overlay agree with the values
      I would expect the left,top,right bottom values for a sprite that appear underneath it on the stage when you click on it to agree with the l,t,r,b...
    3. 2 radiobuttonlists for selection
      hi I have 2 radiobuttonlists in my form both having more or less the same listitems: At Design time, RDLGroup1 (1st radiobuttonlist) has the...
    4. Adding custom values and database values to DropDwonList
      The other way is to create a DataTable, put the --None-- as the first Row, then read the datareader into the DataTable, and append the --other-- at...
    5. Button Selection
      Hi Troy , It seems that IE assumes the button to be the default button. When you presss "Enter", the page will be sumbitted by this button. If...
  3. #2

    Default Re: SUBWindow for selection of values

    This can be accomplished with client-side scripting.

    Try here
    [url]http://www.google.com/search?q=pass+values+javascript+child+parent+windo w[/url]
    and microsoft.public.scripting.jscript or one of the IE or HTML groups.

    Ray at work

    "news.online.no" <stein-a4@online.no> wrote in message
    news:iyCcb.25571$os2.353777@news2.e.nsc.no...
    > The problems seems to be to communicate the prametervalues from the main
    > window to the subwindow.

    Ray at Guest

  4. #3

    Default Re: SUBWindow for selection of values

    Thanks but the problem seems to be that I have to make database selections
    to populate
    the window, and this will ofcourse have to be done on the server side.
    Simple client-side
    scripting will in itself not be sufficent.

    "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    news:u0uKII3gDHA.2084@TK2MSFTNGP10.phx.gbl...
    > This can be accomplished with client-side scripting.
    >
    > Try here
    > [url]http://www.google.com/search?q=pass+values+javascript+child+parent+windo w[/url]
    > and microsoft.public.scripting.jscript or one of the IE or HTML groups.
    >
    > Ray at work
    >
    > "news.online.no" <stein-a4@online.no> wrote in message
    > news:iyCcb.25571$os2.353777@news2.e.nsc.no...
    >
    > > The problems seems to be to communicate the prametervalues from the main
    > > window to the subwindow.
    >
    >

    news.online.no Guest

  5. #4

    Default Re: SUBWindow for selection of values

    Keep 1-3

    Add a function to the parent window that can be called to set the desired
    values. Attach this function to the window (this.setvalue =
    mysetvaluefunction;)

    Make the links in the child window call javascript to call
    window.opener.setvalue(...) to set the values (note: parent and child
    scripts will need to be on the same site).

    --
    Mark Schupp
    --
    Head of Development
    Integrity eLearning
    Online Learning Solutions Provider
    [email]mschupp2@ielearning.com[/email]
    [url]http://www.ielearning.com[/url]
    714.637.9480 x17


    "news.online.no" <stein-a4@online.no> wrote in message
    news:iyCcb.25571$os2.353777@news2.e.nsc.no...
    > Hi all,
    > Trying to figure out how to generate a subwindow with data based on field
    > values from a main window. The ASP application is mostly written in
    > VBSCRIPT. Wants to:
    >
    > 1. Create the subwindow, NOW accomplished by javascript connected with
    > search-button
    > 2. Get the values from the fields in the main window to the subwindow, NOW
    > accomplished by javascript
    > 3. Search (serverside) in a oracle database based on the field-values, and
    > display matches.
    > 4. Based on user selection (link ?) return the values to the main window
    > fields, has NOW been able to do
    > this with "dummy" values using javascript.
    >
    > The problems seems to be to communicate the prametervalues from the main
    > window to the subwindow.
    > An alternative may be to use QueryString to transmit it to the window, and
    > javascript to transmit it back to the main window. Suggestions and
    > source-exmples would be appreciated.
    >
    > Thanks
    > Stein
    >
    >

    Mark Schupp Guest

  6. #5

    Default Re: SUBWindow for selection of values

    Have you tried Session Variables?

    "news.online.no" <stein-a4@online.no> wrote in message
    news:CfDcb.25587$os2.354684@news2.e.nsc.no...
    > Thanks but the problem seems to be that I have to make database selections
    > to populate
    > the window, and this will ofcourse have to be done on the server side.
    > Simple client-side
    > scripting will in itself not be sufficent.
    >
    > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
    > news:u0uKII3gDHA.2084@TK2MSFTNGP10.phx.gbl...
    > > This can be accomplished with client-side scripting.
    > >
    > > Try here
    > >
    [url]http://www.google.com/search?q=pass+values+javascript+child+parent+windo w[/url]
    > > and microsoft.public.scripting.jscript or one of the IE or HTML groups.
    > >
    > > Ray at work
    > >
    > > "news.online.no" <stein-a4@online.no> wrote in message
    > > news:iyCcb.25571$os2.353777@news2.e.nsc.no...
    > >
    > > > The problems seems to be to communicate the prametervalues from the
    main
    > > > window to the subwindow.
    > >
    > >
    >
    >

    ~glen~ Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139