i want to string search in rad grid .the data is in hierarchy.i want to search the data till last node.please help me its urgent.
1 Answer, 1 is accepted
0
Maria Ilieva
Telerik team
answered on 06 Oct 2015, 10:33 AM
Hello,
You can try using GetDataKeyValue, as follows:
{
RadGrid1.AllowPaging = false;
RadGrid1.Rebind();
foreach (GridDataItem data in RadGrid1.MasterTableView.Items) {
String value = data.GetDataKeyValue("DataFieldName").ToString();
if (value == "Y") {
//Your Code
}
}
RadGrid1.AllowPaging = true;
RadGrid1.Rebind();
}
Regards,
Maria Ilieva
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items