Outlook bar Clear

2 posts, 0 answers
  1. Syed Danish
    Syed Danish avatar
    70 posts
    Member since:
    Dec 2009

    Posted 05 Jan 2011 Link to this post


    I am using your outlookbar control for Silverlight 4. Our requirement is to clear the items in the outlookbar from time to time. We are using the items.clear method. It is working fine sometimes and clearing the items but sometimes it is not working. Please do let me know what is the best way to clear the items in the outlookbar.  We are working with Silverlight 4.

    Thanks and Regards,
    Syed Danish
  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 05 Jan 2011 Link to this post

    Hello Syed Danish,

    Supposing your RadOutlookBar is named "outlookBar" and it is populated declaratively, you should clear its Items with :   
    But you cannot use this approach if your outlookbar is databound. In this case you can use:
    this.outlookBar.ItemsSource = null;
    If this doesn`t fit in your scenario we would highly appreciate if you send us a runnable sample showing the issue you have come up with. Thank you in advance.

    Kind regards,
    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft R3 2016 release webinar banner
Back to Top