How could i radtreelist itemdatabound command name delete

Thread is closed for posting
1 posts, 0 answers
  1. Tamim
    Tamim avatar
    64 posts
    Member since:
    May 2011

    Posted 30 Jan 2013 Link to this post

    I'm using RadTreeList how to bind On RadTreeList1_ItemDataBound command name delete

    below my coding:

    protected void RadTreeListWork_ItemDataBound(object sender, TreeListItemDataBoundEventArgs e)
            {
                if (e.Item is TreeListDataItem)
                {
                    TreeListDataItem item = (TreeListDataItem)e.Item;
                        if (item.IsChildInserted == true)
                        {
                            e.Canceled = true;
                         }
                    }
                }

    Thanks,
    Ansari
Back to Top