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

ASP.NET MVC 3 Grid Sorting Giving PropAttr Javascript error

Hi,

I am using syncfusion ver 10. and my created a grid something like this

<%= Html.Syncfusion()
            .Grid<JobsModel>("grFiltered")
            .ShowCaption(false)
            .Datasource(Model)
            .AutoFormat(Skins.Marble)
            .EnableSorting()
            .EnablePaging()
            .EnableGrouping()       
            .PageSettings(page => { page.PageSize(30); })
            .EnableFiltering()
            .Column(column =>
            {
                column.Add(c => c.JobKey).HeaderText(JobNo);
                column.Add(c => c.JobName).HeaderText(JobName);
                column.Add(c => c.Branch).HeaderText(Branch);
                column.Add(c => c.ProductPartNum).HeaderText(PartNumber);
                column.Add(c => c.ProductDescMed).HeaderText(PartDescription);
            }) %>

When I am clicking on Paging or Grid Columns for sorting I am getting following errors
"TypeError: this.element.propAttr is not a function" in MVCResourceHandler.axd

http://localhost/MvcResourceHandler.axd?k=js&r=['-1494365596','1871755818','338218173','-2130807385','1909990000','-246545189','1150417405','-2020898817','-1117454558','1462412538','-1195167433','-1509892392','-73669328']&minify=True

MvcResourceHandler.axd?k=js&r=['-1494365596','1871755818','338218173','-2130807385','1909990000','-246545189','1150417405','-2020898817','-1117454558','1462412538','-1195167433','-1509892392','-73669328']&minify=True

I referred Link but not got the solution because I am already doing which this like is tell.

Please tell me the solution for that.



3 Replies

AM Abdul Matin M Syncfusion Team July 17, 2013 11:13 AM UTC

Hi Rocky,


Thanks for using Syncfusion Products.

 

From your query we are unable to get clear details about the Syncfusion Version and JQuery version, so we have created the sample in ASP.Net MVC Version 10.304.0.43 demonstrating all the functionalities in your code snippet and the same can be downloaded from the link below.

 

Could you please replicate your issue in the our sample and get back to us with more information specifying Syncfusion version and JQuery version you are using, so that we could sort out the cause of this issue and provide you a better solution quickly.

 

Please let us know if you have any other concerns.

 

Regards,

Abdul Matin M



Sorting2_3ae6e9a5.zip


AR Arley December 10, 2013 03:40 PM UTC

"From your query we are unable to get clear details about the Syncfusion Version and JQuery version, so we have created the sample in ASP.Net MVC Version 10.304.0.43 demonstrating all the functionalities in your code snippet and the same can be downloaded from the link below."

Hi Abdul, according to your sentence the syncfusion version and the jquery version matters?! I am having the same problem as Rocky and my code is according to the documentation, but my jquery version is updated automatically by Nuget Add On. Recently it's jquery 1.9.1. Doesn't it supported? Syncfusion version is the latest one (11.3.0.30). Any thoughts?


AM Abdul Matin M Syncfusion Team December 11, 2013 10:44 AM UTC

Hi Arley,

 

Thanks for using Syncfusion products.

 

We deeply regret to let you know that we have given support till jQuery 1.8.2. So we suggest you to use respective jQuery migrate file if you use higher jQuery versions. We have resolved this issue in incident ID #116734. Could you please follow up the incident.

 

Please let us know if you need any further assistance.

 

Regards,

Abdul Matin M


Loader.
Live Chat Icon For mobile
Up arrow icon