ToolTip inside Splitter modal problem

4 posts, 0 answers
  1. Rimma
    Rimma avatar
    15 posts
    Member since:
    Jan 2013

    Posted 07 Mar 2013 Link to this post

    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
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 11 Mar 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rimma
    Rimma avatar
    15 posts
    Member since:
    Jan 2013

    Posted 11 Mar 2013 Link to this post

    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
  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 12 Mar 2013 Link to this post

    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.
Back to Top