tooltip disappearing

9 posts, 0 answers
  1. Judith
    Judith avatar
    13 posts
    Member since:
    Aug 2007

    Posted 01 Feb 2011 Link to this post

    Posted on Jan 11, 2011 (permalink)

    I have a page that contains a grid. When the user selects edit on a gridrow a user control is instantiated. I have used radtooltipmanager for items on the gridrow and that is working fine. I would like to tooltipify one of the controls ( a checkbox) in the formview that is used for editing. The tooltip works fine on the gridrow. Then I try to  use the same tooltip on one of the controls on the edit formview and the tooltip looks like it is goiing to work. - you see the outline of the tooltip and then it disappears. I even set the property of the tooltip to manual close but it disappears anyway. the Tooltipmanager invokes the same control on the gridrow as on the control on the formview. I stepped through the code and it does go thru the prerender and pageload of the usercontrol for the tooltip but then it disappears.

    Any ideas why that would be happening.
    Here is the aspx for the edit user control

    <

    telerik:RadToolTipManager ID="PLToolTipManager" runat="server" Position="BottomCenter" HideEvent="ManualClose"

     

     

     OnAjaxUpdate="OnAjaxUpdateToolTip" Skin="Web20" Width="380px" Height="250px" Style="font-size: 18px; text-align: center; font-family: Arial;">
    </telerik:RadToolTipManager>

    <telerik:RadAjaxManagerProxy ID="RadAjaxManager3" runat="server">
    <AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="fvEdit">
    <UpdatedControls>
    <telerik:AjaxUpdatedControl ControlID="chkPL" />
    <telerik:AjaxUpdatedControl ControlID="PLToolTipManager" />
    </UpdatedControls>
    </telerik:AjaxSetting>
    </AjaxSettings>
    </
    telerik:RadAjaxManagerProxy>

    I used a proxy because I already have an Ajax manager on the page with the grid. Here is the aspx for the grid

    Here is the code behind that adds the control to the tooltiplist

    protected void chkPLOnDataBinding(object sender, EventArgs e)

    {

     CheckBox chkPL = (CheckBox)sender;
    string myClientID = chkPL.ClientID;
    R
    adToolTipManager RadToolTipManager1 = (RadToolTipManager)this.FindControl("PLToolTipManager");
    int itemid = (int)fvEdit.DataKey.Value;
    PLToolTipManager.TargetControls.Add(myClientID, itemid.ToString(),
    true);

     }

     Here is the aspx code of the page with the grid. - this works fine

    <

    telerik:RadAjaxManager ID="RadAjaxManager1"

    runat="server">

     

     

    <AjaxSettings>

     

     <telerik:AjaxSetting AjaxControlID="RadGrid1">

     

      

     

    <UpdatedControls>

     

     

    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />

     

     

    <telerik:AjaxUpdatedControl ControlID="RadToolTipManager1" />

      

     

    </UpdatedControls>

     

     

    </telerik:AjaxSetting>

     

     

    </AjaxSettings>

    </telerik:RadAjaxManager>

     

     

     

    <telerik:RadToolTipManager ID="RadToolTipManager1" OffsetY="-1" HideEvent="LeaveToolTip"

     

     

     

    Width="200" Height="200" runat="server" EnableShadow="true" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Element"

     

    Position="MiddleRight">

     

     

    </telerik:RadToolTipManager>

    I would really appreciate help with this. I have spent many hours on this already
    Thanks
    Judith

     

     

     

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    3254 posts
    Member since:
    Dec 2014

    Posted 04 Feb 2011 Link to this post

    Hello Judith,

    Could you please test the application by disabling the Ajax on the page and verify what the result is?

    Regards,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Judith
    Judith avatar
    13 posts
    Member since:
    Aug 2007

    Posted 04 Feb 2011 Link to this post

    Thank you for your response. I am not that familiar with ajax so when you say disable Ajax on the page, how exactly do you mean I should do that?
    Thanks
    Judy

  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    3254 posts
    Member since:
    Dec 2014

    Posted 08 Feb 2011 Link to this post

    Hello Judith,

    Please set the EnableAjax property for the main RadAjaxManager to "false" and also remove the setting from the RadAjaxManager proxy. Let me know how it goes.

    Kind regards,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  5. Judith
    Judith avatar
    13 posts
    Member since:
    Aug 2007

    Posted 08 Feb 2011 Link to this post

    That worked - but what does that mean as far as the rest of the page is concerned , how is it working without ajax? Is it doing a postback?
    Thank you
    Judith

  6. Maria Ilieva
    Admin
    Maria Ilieva avatar
    3254 posts
    Member since:
    Dec 2014

    Posted 10 Feb 2011 Link to this post

    Hello Judith,

    In order to avoid postback you could wrap the RadGrid control and the RadToolTipManager into RadAjaxPanel or regular asp UpdatePanel.


    Greetings,
    Maria Ilieva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  7. Travis
    Travis avatar
    28 posts
    Member since:
    Dec 2010

    Posted 15 Feb 2011 Link to this post

    Disabling AJAX worked for me in this scenario, except I *need* ajax to update my grid results.

    Wrapping in update panel didn't do diddly for me.  PLease help!

    Is there another way to do this?

  8. Maria Ilieva
    Admin
    Maria Ilieva avatar
    3254 posts
    Member since:
    Dec 2014

    Posted 18 Feb 2011 Link to this post

    Hi Judith,

    I would suggest you to open a regular support ticket and send us sample runnable version of your application. Thus we will be able to test it locally, further investigate on the problem you are facing and provide proper solution for this issue.


    Regards,
    Maria Ilieva
    the Telerik team

  9. Travis
    Travis avatar
    28 posts
    Member since:
    Dec 2010

    Posted 18 Feb 2011 Link to this post

    This is a pretty massive solution...  I was hoping someone might have more insight since folks posted on this topic before.

Back to Top