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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot set property 'control' of undefined

Thread ID:





106653 Jan 20,2013 11:22 PM UTC Feb 14,2013 11:40 AM UTC ASP.NET MVC (Classic) 4
Tags: Grid
Tony Basallo
Asked On January 20, 2013 11:22 PM UTC

Sorting a grid results in a JavaScript error: Cannot set property 'control' of undefined

I have the following code:

    var grid = Html.Syncfusion().Grid<Proposal>("Proposals");











Why am I getting this error?

Tony Basallo
Replied On January 21, 2013 02:38 PM UTC

This seems to be related to not having the MS AJAX js files loaded. These seem to be required.

Eswari S [Syncfusion]
Replied On January 22, 2013 10:42 AM UTC

Hi Tony,


Thank you for using Syncfusion products.


We need to add MicrosoftAjax script to load grid. Please refer to the following Online UG link:




We have prepared the sample for your reference and the same can be downloaded from the following link:




Could you please try the above sample and get back to us whether you are able to reproduce the issue? If not, could you please give more information or by reproducing the issue in the above sample so that we could sort out the issue and provide you with solution. The information provided would be of great help in resolving the issue.


Please try this and let us know if you have any queries.



Eswari S

Tony Basallo
Replied On February 13, 2013 08:35 PM UTC

This was it, thanks.

Eswari S [Syncfusion]
Replied On February 14, 2013 11:40 AM UTC

Hi Tony,


Thanks for your update.


We are happy to hear that issue has been resolved.


Please let us know if you need any further assistance.



Eswari S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon