Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ToolBar > Adding items to RadToolBar in code behind only shows last item added...

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

Feed from this thread
  • Rob Master avatar

    Posted on Feb 17, 2011 (permalink)

    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?

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Feb 23, 2011 (permalink)

    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!

    Reply

  • Rob Master avatar

    Posted on Feb 23, 2011 (permalink)

    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.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ToolBar > Adding items to RadToolBar in code behind only shows last item added...
Related resources for "Adding items to RadToolBar in code behind only shows last item added..."

Silverlight ToolBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]