This question is locked. New answers and comments are not allowed.

Jesse Sanders
Top achievements
Rank 1
Jesse Sanders
asked on 10 May 2010, 05:32 PM
I am using the Telerik MVC components in my project and looking to switch my scheduling component from DayPilot to the JQuery Week-Calendar. Everything works great in FireFox, however when I switch over to IE 8, I am getting errors:
if(c.data("associatedDatePicker")!=this.element){
calendar=c.data("tCalendar"); // this is where it blows up with "Object doesn't support this property or method"
It appears to be some sort of conflict between the two libraries, however I am not sure. It is easily repeatable by creating a project, adding a view with both the JQuery Week-Calendar and Telerik MVC DatePicker control on the page, launch the view in IE 8, and click on the date picker image or textbox.
Again, this only happens in IE and not in FF. It may also occur in previous versions of IE; I just have IE 8.
Sincerely,
Jesse
if(c.data("associatedDatePicker")!=this.element){
calendar=c.data("tCalendar"); // this is where it blows up with "Object doesn't support this property or method"
It appears to be some sort of conflict between the two libraries, however I am not sure. It is easily repeatable by creating a project, adding a view with both the JQuery Week-Calendar and Telerik MVC DatePicker control on the page, launch the view in IE 8, and click on the date picker image or textbox.
Again, this only happens in IE and not in FF. It may also occur in previous versions of IE; I just have IE 8.
Sincerely,
Jesse
5 Answers, 1 is accepted
0
Hi Jesse Sanders,
I have attached a runnable project which shows how to properly use the week calendar together with Telerik Extensions for ASP.NET MVC.
Regards,
Atanas Korchev
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.
I have attached a runnable project which shows how to properly use the week calendar together with Telerik Extensions for ASP.NET MVC.
Regards,
Atanas Korchev
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.
0

Jesse Sanders
Top achievements
Rank 1
answered on 11 May 2010, 02:12 PM
Atanas,
Thanks for the reply in regards to this issue. It appears that you forgot to attach the project files that you speak of. I appreciate your time and effort in this matter.
Sincerely,
Jesse
Thanks for the reply in regards to this issue. It appears that you forgot to attach the project files that you speak of. I appreciate your time and effort in this matter.
Sincerely,
Jesse
0
Hello Jesse Sanders,
Indeed I forgot to attach the project (or our support system ate the attachment :)). I am sending it now.
Regards,
Atanas Korchev
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.
Indeed I forgot to attach the project (or our support system ate the attachment :)). I am sending it now.
Regards,
Atanas Korchev
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.
0

Jesse Sanders
Top achievements
Rank 1
answered on 11 May 2010, 03:22 PM
Atana,
I just tested your solution using your test project provided and I get the same error as before in telerik.datepicker.min.js on line 1, column 1381. I am using MVC 2.0, Visual Studio 2008, Internet Explorer 8, and the test project you provided. As soon as I click on the datepicker textbox or image, I get this error. I don't see any errors in FF. I verified in Fiddler that all requests for css and js are completing without error.
Do you get the error I am seeing when you run your example with IE8? For me it happens consistently every time in both the project you sent and in mine.
Any thoughts, suggestions, or ideas?
Thanks,
Jesse
I just tested your solution using your test project provided and I get the same error as before in telerik.datepicker.min.js on line 1, column 1381. I am using MVC 2.0, Visual Studio 2008, Internet Explorer 8, and the test project you provided. As soon as I click on the datepicker textbox or image, I get this error. I don't see any errors in FF. I verified in Fiddler that all requests for css and js are completing without error.
Do you get the error I am seeing when you run your example with IE8? For me it happens consistently every time in both the project you sent and in mine.
Any thoughts, suggestions, or ideas?
Thanks,
Jesse
0
Hi Jesse Sanders,
Finally I was able to reproduce the JavaScript error in Internet Explorer. It turned out to be a subtle bug - missing variable declaration which made it global thus interfering with the calendar. I am sending you upgraded sample project - use the dll, JavaScript and CSS files from it.
Regards,
Atanas Korchev
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.
Finally I was able to reproduce the JavaScript error in Internet Explorer. It turned out to be a subtle bug - missing variable declaration which made it global thus interfering with the calendar. I am sending you upgraded sample project - use the dll, JavaScript and CSS files from it.
Regards,
Atanas Korchev
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.