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
protected
void
RadTreeList1_ItemDataBound(
object
sender, TreeListItemDataBoundEventArgs e)
{
if
(e.Item
is
TreeListFooterItem)
TreeListFooterItem item = (TreeListFooterItem)e.Item;
(item.HierarchyIndex.NestedLevel == 0)
item[
"UniqueName"
].ForeColor = System.Drawing.Color.Red;
}
else
(item.HierarchyIndex.NestedLevel == 1)
].ForeColor = System.Drawing.Color.Green;
TreeListDataItem)
TreeListDataItem item = (TreeListDataItem)e.Item;
item.BackColor = System.Drawing.Color.Red;
item.BackColor = System.Drawing.Color.Green;