Hello,
Am trying to remove the tabs from the tabstrip.
But am getting the following exception:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Any advise?
Thanks,
Mani
Am trying to remove the tabs from the tabstrip.
But am getting the following exception:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
int count = RadTabStrip1.Tabs.Count();
if (count > 0)
{
for (int i = 0; i < count;i++ )
{
RadTabStrip1.Tabs.RemoveAt(i);
}
}
Any advise?
Thanks,
Mani