Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
ArrayList list = new ArrayList(); protected
void
RadGrid1_ItemDataBound(
object
sender, GridItemEventArgs e)
{
CreateExpandCollapseButton(e.Item,
"EmployeeID"
);
if
(e.Item
is
GridDataItem)
string
value = ((GridDataItem)e.Item)[
"ReportsTo"
].Text;
(!list.Contains(value))
list.Add(value);
}
protected
RadGrid1_PreRender(
sender, EventArgs e)
foreach
( GridDataItem item
in
RadGrid1.Items )
(!list.Contains(item[
].Text))
item.Visible =
false
;