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

[Solved] By design or a bug?

1 Answer 74 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Wade
Top achievements
Rank 1
Wade asked on 21 Feb 2010, 08:37 PM
I have since switched over to using the DatePicker with a POST, but initially when I was using the calendar with select action, the calendar was triggering the select event on mouse-over, needless to say, that was not a good thing since the controller was then performing db queries every time you moused over a date in the calendar.

So, is this by design?  or a bug.  My thinking is that you should only be calling the server once a date was chosen.  I guess I could have poked at the java code since it would seem its the culprit preforming the mouse-over event.  However, I always hesitate to mess with distributions unless absolutely necessary since I tend to forget I actually mod'ed something and thus am prone to overriding and breaking on upgrades :)

For now, I like the DatePicker better anyway where I was using the calendar since I can control the Min/Max date.

Here is the view code I was using, maybe incorrectly
    <%= Html.Telerik().Calendar() 
            .Name("Calendar") 
            .Selection(settings => settings 
               .Action("UserTasks", "ClientTasks", new { date = "{0}"id = Model.id, userId = ViewData["userId"] })) 
            .Value(DateTime.Today) 
    %> 
 

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 22 Feb 2010, 10:09 AM
Hello Wade,

This is a strange behavior, which is unknown for us. Could you please verify if you can reproduce this on Selection  demo. Let me know what the differences between your implementation and the demo are.

Regards,
Georgi Krustev
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.
Tags
Calendar
Asked by
Wade
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or