BusyIndicator when DropDownButton DropDownContent is open

2 posts, 0 answers
  1. Des
    Des avatar
    1 posts
    Member since:
    Feb 2012

    Posted 23 Feb 2012 Link to this post

    I am having difficulties getting a busy indicator to show when a dropDown button is clicked.  The dropDown buttons are created dynamically from a collection and a command is attached to each button.  When the button is clicked, the command executes a specific service call to get the content of the dropdown.  However, this service call may take a while to execute and I would like to show a busyindicator when this is happening.  I have tried adding the busy indicator to the dropdown content with the listbox that gets populated after the service call is finished executing.  However, it seems that the dropdown content is not even visible until the service call finishes.

    I have also tried putting a busy indicator outside of the dropdownbutton (on a higher branch of the visual tree).  The problem is that once the dropdownbutton is clicked, it seems that the whole UI freezes until the content gets populated so the busy indicator does not show.

    We do not want to make the service call until the user clicks on that dropdown button. Can you please guide me on how I can accomplish this?
  2. Ivo
    Ivo avatar
    390 posts

    Posted 28 Feb 2012 Link to this post


    It seems something is freazing your thread. I guess proccessing the data on the clients side is a slow operation and it freezes your UI. I would suggest you to use BackgroundWorker to proccess the data at the client's side. You can find an example with RadBusyIndicator and BackgroundWorker into our online examples here. It is the RadBusyIndicator's FirstLook example.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top