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

RadScheduler w/RadToolTip Anomaly

2 Answers 80 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Solutionwhere
Top achievements
Rank 1
Solutionwhere asked on 23 Sep 2008, 02:26 PM
Hello,

I don't know if this is the case with other builds as I have only the latest build on my system (2008.2.826), but I am seeing an anomaly with RadScheduler and RadToolTip that I can easily reproduce in the examples.

I am running this example from the Live Demos:

/Scheduler/Examples/RadToolTip/DefaultCS.aspx

All is well in the demos - when you hover over an appointment, the custom tooltip appears, no problem.  However, when I attempt to change the day's start time to 7am (instead of the default 8am) by inserting into DefaultCS.aspx.cs at the end of the Page_Load event the following line:

RadScheduler1.DayStartTime = new TimeSpan(7, 0, 0);

The start time is changed to 7am, but now the RadToolTip no longer appears.  You get the "Loading..." message, then it immediately goes away and no tooltip pops up.

This behavior in the demos is identical to what I am seeing in my production code.  Is there another step (some kind of rebind) that needs to be done, or is this a bug?

Thanks in advance for any feedback.

  - Tony

2 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 26 Sep 2008, 09:31 AM
Hi Tony,

Fortunately this is not a bug. You have to change the start time only on the first page load as it causes a re-bind of the Scheduler:

if (!this.IsPostBack) 
    RadScheduler1.DayStartTime = new TimeSpan(7, 0, 0); 

Best wishes,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Solutionwhere
Top achievements
Rank 1
answered on 26 Sep 2008, 01:08 PM
Thanks, that worked.  Chalk that one up to "Duhhh, I should have thought of that..."

Glad that was an easy one, thanks.

  - Tony
Tags
Scheduler
Asked by
Solutionwhere
Top achievements
Rank 1
Answers by
Simon
Telerik team
Solutionwhere
Top achievements
Rank 1
Share this question
or