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

JScript error : Unable to get value of the property 'msie': object is null or undefined

2 Answers 255 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Praseeda
Top achievements
Rank 1
Praseeda asked on 25 Sep 2012, 04:12 AM
I am getting this error while creating a kendo ui Grid.
I have used the following javascript files.

 <script src="@Url.Content("~/Scripts/kendo.web.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.aspnetmvc.min.js")"></script>
<script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/kendo.dataviz.min.js")" ></script>    
    <script src="@Url.Content("~/Scripts/kendo.data.min.js")" ></script>
    <script src="@Url.Content("~/Scripts/kendo.data.odata.min.js")" ></script>
   <script src="Url.Content("~/Scripts/kendo.popup.min.js")"></script-->
    <script src="@Url.Content("~/Scripts/kendo.numerictextbox.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.validator.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.binder.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.dropdownlist.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.filtermenu.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.pager.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.sortable.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.draganddrop.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.groupable.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.selectable.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo.resizable.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.reorderable.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.datepicker.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.calendar.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.list.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.grid.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo.all.min.js")" ></script>
I have two issues.
1. I know kendo.all is not needed when you use all the other javascripts individually. But my code works only when I include kendo.all.
Probably I am missing any of the javascript
2. I am getting a javascript error: Unable to get value of the property 'msie': object is null or undefined. The error is shown in three of the javascript files.
kendo.list.min.js, kendo.dropdownlist.min.js, calendar.min.js.
I am new to kendo UI and expect a response soon.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Sergey
Top achievements
Rank 1
answered on 25 Sep 2012, 04:15 PM
Also had this problem with version 2012.2.913    whith kendo.aspnetmvc.min.js
but then in my _layout I place kendo.web.min.js first and kendo.aspnetmvc.min.js second - error disappeared
I think the best order of scripts is:
<script src="@Url.Content("~/Scripts/jquery-1.8.2.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.913/kendo.web.min.js")"  type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.2.913/kendo.aspnetmvc.min.js")"  type="text/javascript"></script>
0
Praseeda
Top achievements
Rank 1
answered on 26 Sep 2012, 09:26 AM
I already have the files in the same order.
Tags
Grid
Asked by
Praseeda
Top achievements
Rank 1
Answers by
Sergey
Top achievements
Rank 1
Praseeda
Top achievements
Rank 1
Share this question
or