OWC 10 showing the graph problems.

V

Vinayan3

My current "setup" is as follows:
1. the OWC chart is generated in an .ascx code behind file. The code
behind file executes the command
"Response.BinaryWrite(ChartSpace1.GetPicture("gif", 700, 525))"
2. I created a webpage (.aspx) and placed the chart generation user
control in the page.

Problem: I thought this would work like a charm, but webpage does not
show the html part of the .aspx file. How can I make it so that the
other content is shown?

Related Background: I am not using the <img src = "getchart.aspx" >
way of showing the graph because, the calculations sometimes generates
"NaN" when users put ridiculous values in. I cannot validate out the
values because, the constants used for chart generation change based on
the user's choice of models. I tried fixing the problem by using
"response.redirect" in the getchart.aspx however, since it was "img
src" on the displayed page a broken image was displayed. My thought was
that a user control would, allow me to redirect when needed and
otherwise show the graph.

Any thoughts on this problem, or other resolution stratgies?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top