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

Data Bound Separaters

1 Answer 41 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
olepadre
Top achievements
Rank 1
olepadre asked on 03 Jul 2015, 12:33 PM
How would can you use IsSeparater="True" with databound menu items?  what needs be stored in the database table?

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 07 Jul 2015, 06:52 AM
Hi,

Try to handle PanelBar OnItemDataBound event:

protected void panelBar_ItemDataBound(object sender, RadPanelBarEventArgs e)
{
    if (true)
    {
        e.Item.IsSeparator = true;
    }
}


Regards,
Hristo Valyavicharski
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
PanelBar
Asked by
olepadre
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or