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

[Solved] javascript error in 2010.3 1318

4 Answers 66 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sean Cross
Top achievements
Rank 1
Sean Cross asked on 21 Jan 2011, 04:41 AM
Now that I have upgraded to 2010.3 1318, I am getting the following error when I have a combobox on my page:

Microsoft JScript runtime error: Object doesn't support this property or method

The error occurs in telerik.list.min.js at

if((j.Text==undefined?j:j.Text).toLowerCase()==o)


I get the error when I try to move away from the page.  I thought it might be due to changes in the script files but haven't be able to find anything.

My script registrar is as follows

<%= Html.Telerik().ScriptRegistrar().jQuery(false).Globalization(true).DefaultGroup(group => group
        .Add("telerik.common.js")
        .Add("telerik.grid.js")
        .Add("telerik.grid.filtering.js")
        .Add("telerik.calendar.js")
        .Add("telerik.combobox.js")
        .Add("telerik.list.js")
        .Add("telerik.autocomplete.js")
        .Add("telerik.datepicker.js"))
 %>

Any ideas?

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 21 Jan 2011, 08:13 AM
Hello Sean Cross,

 Unfortunately we are not sure what is causing this problem. Could you please attach a sample app which shows the JavaScript error? Also in which browser is this error observed?

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
Sean Cross
Top achievements
Rank 1
answered on 23 Jan 2011, 09:15 PM
I have found and resolved the problem.  I had a null value for a SelectListItem Text property.  In the older release this worked fine, but in the service pack it threw the error.  Easily fixed in my case by doing a null check when building the list.
0
Accepted
Georgi Krustev
Telerik team
answered on 24 Jan 2011, 02:04 PM
Hello Sean,

After further investigation, we was able to improve current behavior of the combobox component. Improvement will be availavable with the next official release of Telerik Components for ASP.NET MVC.
For you convenience I have attached the modified JavaScript files to this message,

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
0
Sean Cross
Top achievements
Rank 1
answered on 24 Jan 2011, 08:47 PM
Awesome, thanks.
Tags
ComboBox
Asked by
Sean Cross
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Sean Cross
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or