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

3 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 17 Feb 2011 Link to this post

    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. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 23 Feb 2011 Link to this post

    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!
  3. DevCraft banner
  4. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 23 Feb 2011 Link to this post

    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.
Back to Top