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

Using DatePicker with JQuery Week-Calendar and IE 8

5 Answers 104 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
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

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 11 May 2010, 07:57 AM
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.
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
0
Atanas Korchev
Telerik team
answered on 11 May 2010, 02:18 PM
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.
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
0
Atanas Korchev
Telerik team
answered on 12 May 2010, 07:32 AM
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.
Tags
Date/Time Pickers
Asked by
Jesse Sanders
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jesse Sanders
Top achievements
Rank 1
Share this question
or