Hi
I cant seem to get the charts working in particular I can't get the references in the Views.
I've added a reference to the MVC3 Infragistics.Web.Mvc dll and can happily reference it from inside a controller.
However when I attempt to actually get something in a View using the Html helpers I get a message that I need to add a reference
I've tried putting the below in my view
@using Infragistics.Web.Mvc
And the below in my web.config:
<
pages>
<namespaces>
add namespace="Infragistics.Web.Mvc"/> </
</
namespaces> </
No joy I've tried closing/cleaning, reopening the solution and various other combinations to no avail
Any ideas?
Hi Team,
I'm currently facing the same issue and tried all the suggested solution but dont see any working solution.
Can you guys help me to reslove the issue ASAP. It looks the infragictics has an issue with the DLL using in MVC views.
Hi Barney,
Can you update us with the information required. This will be a good start point for us in order to investigate this faster.
Thank you.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://www.infragistics.com/support
if you do a right click "view source" on the rendered page, could you attach the source to a reply?
Ok next problem the chart doesn't render.
No errors, if I change the valuemember path to something invalid i get an error but other than that not a tweet.
I've used the stuff from the samples and it should work I believe can any one help
Barney
@
Infragistics.Web.Mvc @model System.Collections.ObjectModel.
@model System.Collections.ObjectModel.
>
@{
Html.Infragistics().PieChart(Model.AsQueryable().Take(5))
.ID(
) .Width(
.Width(
) .Height(
.Height(
) .ValueMemberPath(data => data.Budget) .LabelMemberPath(data => data.Label) .ExplodedSlices(
.ValueMemberPath(data => data.Budget)
.LabelMemberPath(data => data.Label)
.ExplodedSlices(
) .RadiusFactor(.8) .Legend(leg => leg.ID(
.RadiusFactor(.8)
.Legend(leg => leg.ID(
.Item)) .AllowSliceExplosion(
.AllowSliceExplosion(
) .DataBind().Render(); }
.DataBind().Render();
}
Ok make sure you set copy local to true. that appears to fix it.
If you move the project you will have to do that again