Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolTip > RadToolTipManager response error

Not answered RadToolTipManager response error

Feed from this thread
  • parthavi h avatar

    Posted on May 21, 2010 (permalink)

    I am using a rad tool tip who's values are set in a user control. I am using an 'OnAjaxupdate' method to load the usercontrol and display the tooltip.

    But when i hover the mouse over my image icon (targetcontrol of the radtooltipmanager); i get a pop up window prompting
    "radToolTipManager response error. An unknown server error has occured. The status code returned is 500"

    Looks like this is happens either if I link a css class in the loaded user control or if I add a style inside user control. Look at my below code inside a user control

    <style type="text/css">  
     
         .label  
            {  
                color: Blue;  
                font-familyTahoma;  
                font-size: 1em;  
                font-weight:bold 
            }  
              
         .value  
            {  
                colorblack;  
                font-familyTahoma;  
                font-size: .9em;  
            }  
              
    </style> 

    <asp:UpdatePanel ID="pnl" runat="server" UpdateMode="Conditional">  
        <ContentTemplate> 
              
            <table border = "0"  align = "center" width = "100%" > 
                 
                <tr> 
                    <td><asp:Label ID="lblContent" runat="server" Text="Content File:" class = "label"></asp:Label></td>  
                     <td><asp:Label ID="lblContentUrl" runat="server" class = "value"></asp:Label></td>  
                </tr> 
                  
                <tr> 
                    <td><asp:Label ID="lblTotalLinks" runat="server" Text="Total Links:" class = "label"></asp:Label></td>  
                    <td><asp:Label ID="lblTotalLinksValue" runat="server" class = "value"></asp:Label></td>  
                     
                </tr> 
                 <tr> 
                    <td><asp:Label ID="lblVersion" runat="server" Text="Version:"  class = "label"></asp:Label></td>  
                     <td><asp:Label ID="lblVersionValue" runat="server" class = "value"></asp:Label></td>  
                </tr> 
                  
                <tr> 
                    <td><asp:Label ID="lblCheckedOut" runat="server" Text="Checked Out:" class = "label" ></asp:Label></td>  
                    <td><asp:Label ID="lblCheckedOutValue" runat="server" class = "value"></asp:Label></td>  
                     
                </tr> 
                 
                <tr> 
                    <td><asp:Label ID="lblCreatedOn" runat="server" Text="Created On:" class = "label" ></asp:Label></td>  
                    <td><asp:Label ID="lblCreatedOnValue" runat="server" class = "value"></asp:Label></td>  
                     
                </tr> 
     
                <tr> 
                    <td><asp:Label ID="lblLastModifiedOn" runat="server" Text="Last Modified On:" class = "label"></asp:Label></td>  
                    <td><asp:Label ID="lblLastModifiedOnValue" runat="server" class = "value"></asp:Label></td>  
                     
                </tr> 
            </table> 
             
        </ContentTemplate> 
    </asp:UpdatePanel> 


    What does the error mean?

    My code files are
    1.usercontrol.ascx (defined the user control),
    2.usercontrol.ascx.cs(defined labels and textboxes as properties whose values are set in the default.aspx.cs page),
    3.default.aspx (web page) and
    4.default.aspx.cs(code behind having 'OnAjaxUpdate' method used for loading usercontrol and populationg the tooltip with values)

    Also i am using an external css file to manage the look of the tooltip. But it has no effect on the tooltip content. Sohow can i change the font-size , color etc of the content inside the tooltip by using CSS or inline styles?

    Any help in this is highly appreciated...

    Reply

  • Petio Petkov Petio Petkov admin's avatar

    Posted on May 26, 2010 (permalink)

    Hello,

    I believe that the core of the problem is not related to the styles you added. Just for test try to open the UserControl in the page (not in RadToolTip). In case that you still have this problem, please send us a source code which will help us to reproduce the problem locally. Once we receive it, we will do our best to help you.

    You can find how to load external css file (In the Page)  and apply css classes to the elements which are in the UserControl(Information.ascx) in the following example:
    http://demos.telerik.com/aspnet-ajax/tooltip/examples/tooltipasformchild/defaultcs.aspx

    Sincerely yours,
    Petio Petkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • Sunil avatar

    Posted on Aug 9, 2010 (permalink)

    Any idea what this is. I have almost the exact same situation and I am getting this error sporadically.

    Any update on this.

    Thanks,
    Sunil

    Reply

  • Svetlina Anati Svetlina Anati admin's avatar

    Posted on Aug 10, 2010 (permalink)

    Hi guys,

    This error is not directly related to RadToolTipManager but could be reproduced with a standard update panel as well and usually occurs when something is wrong with the server code. You can find more information on the net, e.g below:

    http://www.google.bg/#hl=bg&rlz=1W1ADFA_en&q=The+status+code+returned+is+500&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=2d4371d2e102af3d

    This being said, I recommend to debug the server code.

    If the problem persists, you can cancel the error alert in the OnClientResponseError event as shown below:

    <script type="text/javascript"
        function OnClientResponseError(sender, args) { 
            args.set_cancelErrorAlert(true); 
        
        
    </script

    i hope that my reply and suggestion are helpful, let me know how it goes.

    Regards,
    Svetlina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • parthavi h avatar

    Posted on Sep 23, 2010 (permalink)

    Hey,

    Thanks a lot, there were no problems with the css settings, i added the tool tip as a part of the table structure that i have. Its working fine now. I do not know how exactly. But its working just fine. 

    thanks a lot,
    Parthavi

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > ToolTip > RadToolTipManager response error
Related resources for "RadToolTipManager response error"

ASP.NET ToolTip Features   |  Documentation  |  DemosStep-by-step Tutorial  ]