Saturday, May 20, 2006

How to find control in Footer of the datagrid.....

To find any control which resides on footer on the datagrid,the following lines of code..solve the problem..

DropDownList ddlS=(DropDownList) DG1.Controls[0].Controls[DG1.Controls[0].Controls.Count-1].FindControl("DDLCountries");

this is to find dropdown list in the datagrid.....
the same you can make it to find any control in the footer.


Regards,
Moustafa arafa
Post a Comment