This is a migrated thread and some comments may be shown as answers.

How to remove child level tab in RadTAb

0 Answers 59 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Sagar Baheti
Top achievements
Rank 1
Sagar Baheti asked on 15 Jul 2008, 02:52 PM
Hi,
I am using RadTabStrip and i am using sitemap datasource to create tabs.This means i have file Web.sitemap which contain hierarchy structure of tabs. Now depends on the user's roles i want to remove some tabs.
now i am using following code to remove tabs.

RadTab removeTab = RadTabStrip1.FindTabByText("Application Central");
if (removeTab != null)
{
        RadTabStrip1.Tabs.Remove(removeTab);
 }

this is working fine when i am remove first level tabs but when i am removing second level tabs it will give error as 'Index was out of range'. So please help me

Thanks and Regard
Sagar

No answers yet. Maybe you can help?

Tags
TabStrip
Asked by
Sagar Baheti
Top achievements
Rank 1
Share this question
or