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

RadCalendar AJAX and Tooltip

5 Answers 103 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Andreas Kaech
Top achievements
Rank 1
Andreas Kaech asked on 02 Jul 2007, 01:00 PM
Hi,
I'm testing your Tooltip-Control with the RadCalendar (Samplecode: 054431_CalendarWithRadTooltip).
There I have a problem with updating the Tooltip by changing the month with RadAjaxManager.
How to set the RadAjaxManager the right way?

Thanks for answering,
Andreas

5 Answers, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 04 Jul 2007, 04:10 PM
Hello Andreas,

In the provided zip, based on one of our online examples there was no RadAjaxManager included - neither in the C#
nor in the VB aspx.

For your convenience we wrapped the calendar and the tooltip manager in a regular MS AJAX UpdatePanel, and we also commented the serverside code that only sets two tooltips - as a result, the calendar items are fully tooltipified and are able to load their own custom content in the tooltips.

Attached is the modified project (please refer to the C# version of the example - e.g. DefaultCS.aspx)

All the best,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
reverland
Top achievements
Rank 1
answered on 27 Aug 2008, 08:42 AM
Why did you use MS Update Panel instead of RadAjaxPanel? I have the same issue as mentioned above. When I added the cell to the tool tip manager it increased the count, but either the tool tip manager would tooltipify everything or if I set it to autotooltipify to false it wouldn't tool tip anything once I did an ajax call. Once I add the MS Update Panel it works fine, but the main reason I use the radajaxpanel is so I can have a nice loading screen. Why does this not work with RadAjaxPanel?
0
Tsvetie
Telerik team
answered on 29 Aug 2008, 12:03 PM
Hi reverland,
I personally do not remember why we used an ASP UpdatePanel, instead of a RadAjaxPanel - please note that this thread was stared over an year ago.

I can however suggest, that you:
  1. Test your page with the latest version of the ASP.NET AJAX suite.
  2. Use RadCalendar for ASP.NET AJAX, instead of RadCalendar for ASP.NET.

As for showing a RadAjaxLoadingPanel over an UpdatePanel, you will have to show and hide the panel with code. Please refer to this help topic to information.

Best wishes,
Tsvetie
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
reverland
Top achievements
Rank 1
answered on 29 Aug 2008, 04:35 PM
I am using the latest version of RadControls for ASP.NET and I am still having the same issue. If you turn the autotooltipify to false once you run an ajax call the tool tip manager no longer works correctly. I traced my code to make sure the tool tip manager is getting data, but once the ajax call is complete no tool tips will come up. If I use the MS Update Panel it works correctly. I have a lot of experience using your tools, I don't have any using the MS tools, I would rather have your product work correctly then learn how to use the MS version at this point in time.
0
Sebastian
Telerik team
answered on 02 Sep 2008, 01:25 PM

Hi Robert,

Please excuse us for the delayed reply. We needed some additional time to investigate the matter.

I was able to verify the issue and forwarded it to our development department. In the meantime a possible solution for your case (that we discovered) is to remove the RadAjaxPanel control and ajaxify the calendar and the tooltip manager via RadAjaxManager, namely:

        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  

            <AjaxSettings> 

                <telerik:AjaxSetting AjaxControlID="RadCalendar1">  

                    <UpdatedControls> 

                        <telerik:AjaxUpdatedControl ControlID="RadCalendar1" /> 

                        <telerik:AjaxUpdatedControl ControlID="RadToolTipManager1" /> 

                    </UpdatedControls> 

                </telerik:AjaxSetting> 

            </AjaxSettings> 

        </telerik:RadAjaxManager> 

                    <telerik:RadCalendar ID="RadCalendar1" runat="server" OnDayRender="RadCalendar1_DayRender" 

                        Skin="Web20" AutoPostBack="true">  

                    </telerik:RadCalendar> 

                    <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" 

                        Font-Bold="true" Font-Size="Medium" ForeColor="DarkGreen" Height="100px" AutoTooltipify="false">  

                    </telerik:RadToolTipManager> 


I am attaching an updated version of the example to this support thread for additional reference. Note that I used the latest release 2008.2.826 of RadControls for ASP.NET AJAX in my local tests.

Let me know whether this helps. Your Telerik points have been updated for the bug report.

Best regards,

Author nickname

the Telerik team


Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Tags
ToolTip
Asked by
Andreas Kaech
Top achievements
Rank 1
Answers by
Tervel
Telerik team
reverland
Top achievements
Rank 1
Tsvetie
Telerik team
Sebastian
Telerik team
Share this question
or