depth in itemdataboud

2 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    427 posts
    Member since:
    Feb 2007

    Posted 01 Dec 2017 Link to this post

    Is it possible to discover e.Item depth in itemdatabound?



  2. Peter Milchev
    Peter Milchev avatar
    570 posts

    Posted 06 Dec 2017 Link to this post


    The item.Level property represents the depth of the item.

    protected void RadPanelBar1_ItemDataBound(object sender, RadPanelBarEventArgs e)
        int level = e.Item.Level;
        string text = e.Item.Text;

    Peter Milchev
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top