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

Read day by day

3 Answers 25 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Jorge
Top achievements
Rank 1
Jorge asked on 03 Aug 2012, 08:32 PM
Hello!
I need to read the calendar every day and day by day doing calculations ...
It turns out that is taking too long to calculate ... How can I do this every day reading asynchronously?

3 Answers, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 08 Aug 2012, 10:55 AM
Hello Jorge,

Can you write the requirements in more details? What you mean to read the calendar? Do you need JavaScript or Server Side solution?

All the best,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jorge
Top achievements
Rank 1
answered on 14 Aug 2012, 03:56 AM
Thanks for the reply!
What I need is the following.
I need to do a calculation for each calendar day in the current month.
For this I was using the DayRender event.
It turns out that for this event is an event server, the routine was slow due to number of tests they do to be able to dynamically get to my final calculation result.

I'm doing in DayRender Because I'm using the calendar with the RadToolTipManager.
I could not access the table cell of the calendar except for this event.

I tried to do this routine in the Load event of the calendar, but here I can not access the cell of Table calendar and make an example "currentCell.Attributes.Add"
I wonder then how can I make this combination in a way that it is not so slow the routine!
Thanks again! :)
0
Radoslav
Telerik team
answered on 17 Aug 2012, 07:07 AM
Hello Jorge,

The DayRender event is the right place where you could perform calculations on every day from the current month view.  However handling the DayRender event and accessing the table cell of the calendar in not performance costing operation.  Also based on the provided information it is hard to say what is causing the described issue on your end. Could you please post your code behind file. Thus we will be able to get more information about your scenario and provide you more to the point answer.

Looking forward for your reply

All the best,
Radoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Calendar
Asked by
Jorge
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Jorge
Top achievements
Rank 1
Radoslav
Telerik team
Share this question
or