Javascript problem

S

shamila.thakur

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top