Javascript problem

Discussion in 'Javascript' started by shamila.thakur@gmail.com, Dec 15, 2005.

  1. Guest

    if i try to populate a textbox on the webform with the code given
    below , it gets populated, the code works.
    but i dont know how to access the textbox inside a datagird footer.

    the parent webform function
    function GetAd(CtrlName)
    {
    ChildWindow = window.open('/orders/orderadlist.aspx?FormName=' +
    document.forms(0).name + '&CtrlName=' + CtrlName + '&userid=' + '<%=
    sUserID %>'
    ,"AdList","width=270,height=300,top=200,left=200,toolbars=no,scrollbars=yes,status=no,resizable=yes");
    }

    the child webform function
    function ReturnDate()
    {
    window.opener.document.forms["<%= strFormName %>"].elements["<%=
    strCtrlName %>"].value = "<%=AdNo %>";
    window.close();
    }
    the above is the function for a normal textbox on the webform. how do
    i get to the footer in the datagrid.
    , Dec 15, 2005
    #1
    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. mcdeveloper
    Replies:
    1
    Views:
    4,172
    mcdeveloper
    Jun 13, 2006
  2. CRON
    Replies:
    24
    Views:
    200,453
    Adrienne Boswell
    Jun 20, 2006
  3. Mark Rae

    JavaScript or not JavaScript

    Mark Rae, Sep 5, 2006, in forum: ASP .Net
    Replies:
    36
    Views:
    1,067
    Paul Sture
    Sep 9, 2006
  4. Nathan Sokalski
    Replies:
    4
    Views:
    568
    PJ on Development
    Nov 8, 2007
  5. Andy
    Replies:
    2
    Views:
    217
    kaeli
    Mar 4, 2004
Loading...

Share This Page