Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ToolBar > Runtime addition/deletion of buttons to tool bar

Not answered Runtime addition/deletion of buttons to tool bar

Feed from this thread
  • Subha avatar

    Posted on Feb 2, 2011 (permalink)

    Hi,

    We have a requirement to build runtime silverlight tool bar based on a standard list of items. Here are the following things that we want to achieve with this toolbar.
    1. Users should be able to select what to appear and what not to. 
    2. User should be able to drag and drop tool bar anywhere on the window(Horizontal or vertical)

    I would appreciate if you can review these and let me know if these can be achieved and also if possible provide a sample code.  I am using 2010 Q2 version.

    Thanks,
    Subha

    Reply

  • Tina Stancheva Tina Stancheva admin's avatar

    Posted on Feb 8, 2011 (permalink)

    Hi Subha,

    If you have a list of all UI elements that can be added inside the RadToolBar and display them in a ListBox, you can either handle the ListBox SelectionChanged() event or add a Button to create the UIElements and add them inside a RadToolBar.

    Also, you can use the RadDragAndDropManager to create your own dragging logic for the RadToolBar. More information about this control you can find here.

    I prepared a sample project to help you get started. Have a look at it and let us know if you need more info.

    All the best,
    Tina Stancheva
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ToolBar > Runtime addition/deletion of buttons to tool bar
Related resources for "Runtime addition/deletion of buttons to tool bar"

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