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

ToolTip inside Splitter modal problem

3 Answers 41 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Rimma
Top achievements
Rank 1
Rimma asked on 07 Mar 2013, 02:05 PM
Hi, I have a tooltip inside a splitter.  When I set modal = true, this greys out the splitter content only and not the whole page.  I tried using RenderInPageRoot = true which fixes the modal issue, but my ToolTip has a RadAjaxPanel inside and when RenderInPageRoot is true the AjaxPanel stops udpating.  Can you please help?  All I need is for the modal to grey out and disable the whole page.

Thanks a lot,
Rimma

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 11 Mar 2013, 11:10 AM
Hi Rimma,

With the RadAjaxPanel has stopped working I assume that updated content inside is no longer received upon some action performed by the user. If the postback does not originale from within this RadAjaxPanel it should be expected to retain its "old" content. If this wasn't the case before then you have had it nested in another RadAjaxPanel, asp UpdatePanel or RadAjaxManager setting and this was causing it to receive new content.

What I can suggest is using a regular ASP:UpdatePanel inside the RadToolTip and call its Update() method on the server when needed (in case you have set its UpdateMode to Conditional, which is the default setting for a RadAjaxPanel). If you use a regular ASP:UpdatePanel and leave the default UpdateMode which is Always it will be updated with each partial postback.


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.
0
Rimma
Top achievements
Rank 1
answered on 11 Mar 2013, 01:11 PM
Hi Marin,

I like using the Rad panel because of the Loading panel it shows while processing your postback.
The Rad panel works fine as long as I don't use RenderInPageRoot on my tooltip.
Is there a way to have the tooltip rendering in the splitter but still disable and grey out the whole page when I set modal to true?  Perhaps with some CSS?

Thanks,
Rimma
0
Marin Bratanov
Telerik team
answered on 12 Mar 2013, 11:00 AM
Hi Rimna,

The following thread shows how you can use the RadTooltipManager's built-in CSS that shows a loading sign: http://www.telerik.com/community/forums/aspnet-ajax/tooltip/show-radajaxloadingpanel-in-side-tooltip.aspx. Note that the contentWrapper css class is in the content of the tooltip. You can, alternatively, use the rtWrapperContent class the tooltip's markup already has in place.

It seems the RadToolTip inherits some CSS rules from your general layout which is why it does not function entirely as expected without the RenderInPageRoot property. Thus, you can remove your custom CSS to find the offending rule and make it more specific so it does not affect the tooltip. You can also try the IsSticky property of the RadAjaxLoadingPanel - setting it to true will have it render inline.


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
Rimma
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Rimma
Top achievements
Rank 1
Share this question
or