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

ReadOnly SLOT

1 Answer 39 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Yonggu Kang
Top achievements
Rank 1
Iron
Yonggu Kang asked on 20 Mar 2013, 05:28 AM
Hi telerik,

I set readonly slot as follows in order to work just one month as stated many places in sample of this thread ;

 Slot slot = new Slot() { Start = DateTime.MinValue,End = lastDate, IsReadOnly = true };
 _specialSlots.Add(slot);
 Slot fSlot = new Slot() { Start = end.AddDays(1), End = DateTime.MaxValue,IsReadOnly = true };

lastDate and end is first/last date of month variable in my app.

After upgrade 2013.1.220, suddenly fails to load view saying index range is over something blah blah.
At first I thought my server module may have a problem , so debuged with seperate test but no problem in my business module.
Because global exception in my app doesn't provide any stack info or related methods, it was very hard to catch which part
has the problem. After hesitating a few hours, I adjusted the range of scheduler as Start = DateTime.MinValue.AddDays(1)
and End = DateTime.MaxValue.AddDays(-1) and everything works fine.

I don't know which internal has been chaged in RadScheduler,but makes me irritating bcz app is running in live server
and I don't even recognize this untill customer complaints.
Is this planned change at your side or Is there something I don't understand ?

TIA.
Kang

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 25 Mar 2013, 11:49 AM
Hello Kang,

We were able to reproduce the issue and this is definitely not an intended change. We will research it further and will try to fix it.

We're sorry for the caused inconvenience. I have updated your Telerik points for the report.

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Yonggu Kang
Top achievements
Rank 1
Iron
Answers by
Yana
Telerik team
Share this question
or