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.
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.