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.
Unfortunately, activation email could not send to your email. Please try again.

Cannot set property 'control' of undefined

Thread ID:





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

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 09:38 AM

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 05:42 AM

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 03:35 PM

This was it, thanks.

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

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.

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.