Show RadAjaxLoadingPanel in side tooltip

2 posts, 0 answers
  1. Dev
    Dev avatar
    28 posts
    Member since:
    Jan 2011

    Posted 13 Dec 2012 Link to this post

    Hi !

    I have a tooltip manager through which I am loading a user control inside tooltip using update panel. The user control contains 6 radio buttons and two command buttons. I want to display a loading panel inside tooltip on clicking command button. I tried out using RadAjaxManagerProxy and RadAjaxLoadingPanel but its not working. Can any one have idea?

  2. Marin Bratanov
    Marin Bratanov avatar
    3555 posts

    Posted 14 Dec 2012 Link to this post

    Hi Dev,

    The user control is already loaded in an update panel by the RadToolTipManager, so all controls inside are disposed, which most likely includes your RadAjaxLoadingPanel.

    What I can suggest is using some JavaScript to modify the tooltip's CSS class so it shows the loading sign automatically. I am attaching here a simple example of this. What is important is that the client-side click handler of the buttons should invoke the function that will show the spinner and once the click is completed the function should be called again to hide it. You can use this sample as base to implement the functionality in your case.

    Kind regards,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top