Domanda

Stiamo aggiornando una soluzione VS da SP2010 a SP2013.Stiamo utilizzando il sistema operativo VS2010 e Windows Server 2012.

Puoi dirmi dov'è la DLL per System.Web.ui.Datavisualization.Charting;Situato? L'errore che ottengo è: -

.

Errore 7592 Il tipo o il nome del nome del nome "datavisualizzazione" non lo fa esistono nel namespace 'system.web.ui' (ti manca un assemblaggio Riferimento?) C: \ dev \ progetto \ mypartscontrol.ascx.cs

Stavo navigando per chiedere aiuto e ho ricevuto questo link che menziona per cercare sotto: c: \ Programmi (X86) \ Microsoft Chart Controls \ Assembly.Non ci sono file C: \ Programmi (X86) \ Microsoft Chart Controls Directory nel mio computer.

È stato utile?

Soluzione

It is present here

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5

When adding dll references click on Framework and scroll down, you should be able to see this: enter image description here

Altri suggerimenti

https://stackoverflow.com/questions/6728710/system-web-ui-datavisualization-charting-missing-error-in-net-4-0

Do you reference it in your web.config

•under the controls tag (path: "< system.web>") :

< add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

•under "< httphandlers>") :

< add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

http://forums.asp.net/t/1698336.aspx?How+to+create+a+flipcart+like+panel+for+showing+products+in+gridview

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top