RadComobox Clear

2 posts, 0 answers
  1. mohamed
    mohamed avatar
    311 posts
    Member since:
    Mar 2011

    Posted 22 Jul 2011 Link to this post


    In RadCombobox i bind tree View how i clear the selected tree view value

    Thanks,
    Mohamed.
  2. mohamed
    mohamed avatar
    311 posts
    Member since:
    Mar 2011

    Posted 22 Jul 2011 Link to this post

    I'm clear like that .
                BrowsebyCategory.Text = "";
                BrowsebyCategory.SelectedValue = "";
                BrowsebyCategory.ClearSelection();
                BrowsebyCategory.Items.Clear();

    After clear i newly load that ramcobobox  inside radtreeview

    RadTreeView radtreeview = (RadTreeView)BrowsebyCategory.Items[0].FindControl("CategoryTreeView");

    Error come on

    Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index


    Thanks,
    Mohamed.
Back to Top