Selecting item from popup

Discussion in 'ASP .Net' started by Amy Snyder, Jan 28, 2004.

  1. Amy Snyder

    Amy Snyder Guest

    I have webform1.aspx with an asp:textbox control and a link. The
    textbox is for entering company tickers. The link is to open up a
    smaller window where a user can do a quick query to search for a company
    ticker. The results are displayed in a datagrid. I set one of the
    columns in the datagrid to a hyperlink column. Pretty straight forward.

    What I would like to do is have the selected row's ticker transferred to
    the ticker text box on webform1.aspx. How can I do that?



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    Amy Snyder, Jan 28, 2004
    #1
    1. Advertising

  2. http://aspnet.4guysfromrolla.com/articles/090402-1.2.aspx

    This example involves a javascript to allow confirmation of a delete button,
    but you should easily be able to adapt it for a hyperlink column. In the
    Javascript, get the text (which you should be able to set at compilation),
    send/set it back in the parent, and close the window.

    HTH,
    --Michael

    "Amy Snyder" <> wrote in message
    news:em%...
    >
    >
    > I have webform1.aspx with an asp:textbox control and a link. The
    > textbox is for entering company tickers. The link is to open up a
    > smaller window where a user can do a quick query to search for a company
    > ticker. The results are displayed in a datagrid. I set one of the
    > columns in the datagrid to a hyperlink column. Pretty straight forward.
    >
    > What I would like to do is have the selected row's ticker transferred to
    > the ticker text box on webform1.aspx. How can I do that?
    >
    >
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
     
    Michael Ramey, Jan 28, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Criswell
    Replies:
    1
    Views:
    1,420
    John Criswell
    Jul 24, 2003
  2. Bogdan Zamfir

    Selecting an item in a drop down list

    Bogdan Zamfir, Aug 17, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    441
    Bogdan Zamfir
    Aug 17, 2003
  3. Natty Gur
    Replies:
    1
    Views:
    326
    Bogdan Zamfir
    Aug 18, 2003
  4. Vikash Kumar
    Replies:
    2
    Views:
    166
    Alex Young
    Dec 20, 2006
  5. Jens Peter Hansen
    Replies:
    7
    Views:
    594
    Randy Webb
    Jun 19, 2004
Loading...

Share This Page