RadTooltipManager and RadGrid

2 posts, 0 answers
  1. Ben
    Ben avatar
    1 posts
    Member since:
    Oct 2010

    Posted 15 Nov 2011 Link to this post


    Sorry if this has been asked previously, but i have not seen it when searching...

    I have a radgrid with 2 nested detail tables. This is using Ajax to populate the expanded tables. On the lowest level table i am associating a label in one of the columns with a RadToolTipManager to open a small summary based on the item clicked on as below:

    Ajax Manager:
                <telerik:AjaxSetting AjaxControlID="GridContent">
                        <telerik:AjaxUpdatedControl ControlID="GridContent" LoadingPanelID="LoadingPanel" />
                        <telerik:AjaxUpdatedControl ControlID="HistoryToolTipManager" />

    ItemDataBound grid event:

    HistoryToolTipManager.TargetControls.Add(quantityLabel.ClientID, rowIndex.ToString(), true);

    I then have an AjaxUpdate method that fires when a click is received on the QuantityLabel control. I can see this firing and can see that the tooltip is being created and populated.

    However, the tooltip appears (empty) for about 2 seconds before disappearing again. This seems to be due to the grid also refreshing when the label is clicked on. I can see the content of the tooltip AND the grid being returned in the ajax response and i assume that this grid refresh makes the tooltip disappear again.

    Is there any way to disable the grid refresh in this scenario? The ajax grid refreshing for the rest of the grid expansions is a requirement, so disabling all grid ajax is not a possibility.

    This is using VS2010 and ASP.Net 4.0 with version 2011.2.712.40 of the Telerik dll.

    Many Thanks.

  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 16 Nov 2011 Link to this post

    Hello Ben,

    This can be hardly to achieve when the grid is ajaxified with RadAjaxManager. I would suggest that you ajaxify it using ASP:UpdatePanel with UpdateMode set to Conditional instead.
    Check it out and let me know if this works for you.

    Iana Tsolova
    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