Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello guys,

i want to use chart control in asp.net 4.0 framework. but the problem is my website is made on framework 2.0. And i opened it in 2010. So when i drag chart control on a page and try to work on it, it shows an error.
The type or namespace name 'DataVisualization' does not exist in the namespace System.Web.UI(are you missing an assembly reference?).


So how can i use the chart control.

thanks in advance
Posted
Updated 7-Jan-12 0:07am
v2

1 solution

If does exist in v.4.0; here is the proof: http://msdn.microsoft.com/en-us/library/system.web.ui.datavisualization.charting.aspx[^].

I have no idea where did you screw up things without looking at your solution. One though is this: try to clean your solution from any intermediate files and leave only the pure source code. Get rid of "*.user", "bin/*", "obj/*", "*.ncb", "*.suo". Always use some Revision Control System and make sure only source code is submitted. Always re-test on a regular basis that you code can be built from scratch on all the systems you want to support, perform regular regression testing.

Good luck,
—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900