Char control is Gryed out in the tool box in VS 2010
-
Monday, April 16, 2012 2:04 PM
Hello,
I am trying to use Chart control in the Visual studio 2010 and added both namespaces System.Web.UI.DataVisualization.Charting and System.Windows.Forms.DataVisualization.Charting. However, that Chart control is Grayed out and I cannot drag and dropped it in the Windows forms. I beleive this control should be under 'Data' category. But I cannot see this under Data category and it is showing under Menus & Toolbars
How to make it available? Do I need to download any add-in to enable it? I am using Visual studio 2010 Service pack 1. Please help me on this
Thank you,
Raj
Dreaming a world without any war in anywhere
All Replies
-
Tuesday, April 17, 2012 9:43 AMModerator
Hi Rajeeshun,
I cannot reproduce this issue, please try to create a new Winform project, see whether this issue still exists.
The following steps are what I have done.
1. Create a new Winform project;
2. In the form designer explorer, we an see the Chart control in the Data category;
3. I can drag it to my form.
If the Chart control is till grey out, I suggest you to try the following workarounds.
1. If we reboot the operating system to safe mode, do we have the problem? This can help to isolate whether any other applications are interfering with Visual Studio. Note that some features (like IIS) are not available under safe mode. Please check whether this can apply or not. In addition to safe mode, we can also suggest “clean boot”: http://support.microsoft.com/kb/310353.
2. If we create a new user account, do we have the problem? This can help to isolate user profile corruption related causes.
3. If we disable Add-ins (e.g. “Tools” | “Add-in Manager”) and run “devenv.exe /safemode”, do we still have the problem? This can eliminate the possibility that third party Add-ins are causing problems.
4. If we use “devenv.exe /resetsettings”, does it solve the problem? It restores Visual Studio default settings.
5. If the problem remains, we can use Visual Studio Setup Wizard (via Control Panel) to repair Visual Studio. It can restore the Visual Studio Installation into its original state.
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by lucy-liuModerator Monday, April 23, 2012 5:16 AM
-
Wednesday, April 18, 2012 4:12 PM
Hi Rajeeshun,
Please try resetting the toolbox (from the toolbox context menu). If that doesn't work, please try deleting the hidden *.tbd files under %localappdata%\microsoft\visualstudio\10.0 (but you have to shut down VS before doing that). Let me know whether either of those solves the problem.
Thanks,
-Josh Stevens
VS Shell team
- Marked As Answer by lucy-liuModerator Monday, April 23, 2012 5:16 AM
-
Monday, April 23, 2012 5:18 AMModerator
Hi Rajeeshun,
I temporary make Josh's and my last reply as answer. You can unmark it if they provide no help.
Thank you for your understanding!
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us

