Hi,
I am working with UltraWebListBar. I want to make visible or invisible a specific group and even the list of items under a group based on the criteria's using programming. Can any one please help me out in doing this.
Regards,
Dheeraj
The Group or Item objects are don’t support this functionality. If your project requirements allow you can remove and add programmatically at specific point like this:
- You need to create and add Group at runtime:
Group group = new Group();
if (!IsPostBack)
{
group.Text = "Group2";
group.Items.Add("item1", "item1");
group.Items.Add("item2", "item2");
group.Items.Add("item3", "item3");
this.UltraWebListbar1.Groups.Insert(1, group);
}
And, you can remove and add programatically later:
this.UltraWebListbar1.Groups.RemoveAt(1); this.UltraWebListbar1.Groups.Insert(1, group);