CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How to Include Blocks of ASP Code?

Print topic Send  topic

Author Message
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
View profile  Send private message
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.


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.