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

Adding items to RadToolBar in code behind only shows last item added...

2 Answers 52 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 17 Feb 2011, 09:40 PM
Hello,

I have a RadToolBar in my application to which I am dynamically (in code behind) adding items (normal things like buttons and comboboxes).  When I run my code, I can see that the items are indeed added to the RadToolBar properly, however only the final item (the rightmost one) is rendered on the screen.

Is this a known issue?

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 23 Feb 2011, 08:01 AM
Hello Rob,

There is a known issue in our PITS and you can vote for it here. You could also provide a sample showing the issue so that we could provide you a better advice or workaround. Thank you for your cooperation.

All the best,
Petar Mladenov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Rob
Top achievements
Rank 1
answered on 23 Feb 2011, 04:30 PM
Thanks.  I voted for it.  I managed to get around the issue by creating a ObservableCollection of items first and then assigning the entire collection as the ItemsSource.
Tags
ToolBar
Asked by
Rob
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Rob
Top achievements
Rank 1
Share this question
or