Profile Picture

.NET Chart within Sharepoint

Posted By Zac F 12 Years Ago
Author
Message
Zac F
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 0, Visits: 1

I'm trying to deploy a .NET chart on an aspx page within SharePoint.  Using just the example provided here under Web Control -> Getting Started -> Basic Chart, http://examplesaspnetchart.nevron.com/ , I'm getting just a blank white space where the image should be.

I can use the following, along with setting up a directory, to get the chart to display as a workaround, but it'd be nice to know if I could get it working without doing so: 

nChartControl1.ImageAcquisitionMode = Nevron.UI.WebForm.Controls.ClientSideImageAcquisitionMode.TempFile;



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Zac,

Most likely you're missing the http handlers registration in the sharepoint web.config file - you'll need the following two handlers:

<add name="NevronChart" preCondition="integratedMode" verb="*" path="NevronChart.axd" type="Nevron.Chart.WebForm.NChartImageResourceHandler"/>
<add name="NevronScriptManager" preCondition="integratedMode" verb="*" path="NevronScriptManager.axd" type="Nevron.UI.WebForm.Controls.NevronScriptManager"/>

You can also consider to use the Nevron Chart for Sharepoint solution which integrates natively in SharePoint and also allows for compete programability via the code injection feature.



Best Regards,
Nevron Support Team



Zac F
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 0, Visits: 1
I had made that mistake first, and without the handlers I was getting the Red X instead of an image.  Once I fixed that, it became just the blank image.



Similar Topics


Reading This Topic