bobhuff
Posts: 21
|
| Posted: 05/08/2006, 3:39 PM |
|
Hi,
I am attempting to render some graphics with a block of ASP code.
My goal is to render a graph between the include variables {header} and {footer}.
Is there an mechanism in Studio using ASP with Templates to include a block of ASP code.
I have created a INCLUDE file and tried different events, but the graph is always rendered before {header}
How and what should I bind the code to?
Thanks,
Bob
|
 |
 |
Benjamin Krajmalnik
|
| Posted: 05/10/2006, 10:32 AM |
|
Bob,
Since CodeCharge has a template driven presentatio layer, your current
methodology will not work.
You are sending code directly to the "console" before CCS starts buffering
its own html.
I don't know which control you are using to generate the graphs, but there
are various solutions:
1. If your code can generate the graph to a file, do so and place an image
tag with its "SRC" pointing to the file
2. I use the graphing components from InfosoftGlobal. They are Flash
components which you populate, and to which you feed an XML dataset to
render the graph. Since the component is the one that fetches the data
asynchronously then you do not have any problems.
|
|
|
 |
|