We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

JavaScript runtime error: 'propAttr'

Hello

 

I have problem.

I did like described on this page.

The grid is now visible but when I try to call ajax or use filtering I got an error :

Unhandled exception at line 25613, column 4 in http://localhost:51796/MvcResourceHandler.axd?k=js&r=['-1838728316','1170919017','-1203423022','332709127','-1637670656','-302422186','1524302205','2054747444','159471027','736950233']&minify=False

 

0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'propAttr'.

 

You can see it in attached file.

 

I am working with MVC 4 with razor and adding the grid control using a model.

I am using jquery-1.9.1 and jquery-ui-1.10.0 and jquery-migrate-1.2.0

 

Kind Regards

Kriss



Error01_9f498a8a.zip

1 Reply

AM Abdul Matin M Syncfusion Team September 12, 2013 07:39 AM UTC

Hi Krzysztof Koziarski,

 

Thanks for using Syncfusion Products.

 

We are able to reproduce the issue. We have used jquery 1.8.2 in our source and when using jquery higher version scripts, so there is conflict occurs. To resolve this issue, we suggest you to set the value as false for sfJqueryload in webconfig. Please refer the below code snippets.

[Web.Config]

<appSettings>

<add key='sfJqueryload' value='false'/>

</appSettings>

</code>

Note: jquery-migrate.js is kept in script folder.

For your convenience, we have prepared a simple sample to demonstrate this and the sample can be downloaded from the link given below.

If you have any other queries please refer the below links.

ONLINE LINK: http://mvc.syncfusion.com/demos/ui/grid

UG LINK: http://help.syncfusion.com/asp.net%20mvc/grid

 

Please let us know if you need any further assistance.

 

Regards,

Abdul Matin M



MvcApplicationsample_cddb9ffa.zip

Loader.
Live Chat Icon For mobile
Up arrow icon