When I create an empty SharePoint 2010 project with Visual Studio 2010, a lot of controls are disabled (chart, sqlDatasource). I try to reinitialize and other stuff but nothing. The controls are disabled.

How can I develop a webpart without controls?

1 Answer 1


The issue is that the .NET Framework built-in charting is only available starting with .NET 4 - but SharePoint 2010 solutions are based on .NET Framework 3.5 - therefore the SharePoint VS solution properties target framework is set to 3.5 - therefore you cannot select this library.

Only option you have is to download and utilize MSChart control.

You can also check:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.