This is a migrated thread and some comments may be shown as answers.

Show RadAjaxLoadingPanel in side tooltip

1 Answer 39 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Dev asked on 14 Dec 2012, 05:29 AM
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?

Thanks,
Dev

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 14 Dec 2012, 12:57 PM
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.
Tags
ToolTip
Asked by
Dev
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or