I'm trying to find a way to use the
asp.net charting controls in mvc
with spark. I've been able to do it by using straight code, but I'd
like to be able to use markup instead.
A way I thought that I could accomplish this is by creating an ascx
partial view, and just rendering that instead. I can get them to
render just fine by themselves, but I need a spark view to be able to
render it.
So far, the only way I can do this is:
#Html.RenderPartial( "MyAscxView" );
This will render the image as the first thing on the page though, and
not where I had it placed in the html, which makes sense considering
what it's doing.
Is there any way to have a spark view render an ascx view inline?
Thanks.