CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Template and own code

Print topic Send  topic

Author Message
Ron
Posted: 08/28/2002, 2:31 AM

Is there a way to insert your own code (e.g. ASP) into the template in CCS? I want to add a table with a querystring parameter, but in the end only the actual code is shown but not the result.

This code is inserted just after the start of the <BODY> section in the template:

response.write "<table width='100%' border='0'>"
response.write " <tr>"
response.write " <td><class='DeepWaterFormHeaderFont'>" & request.querystring("Documentnaam") & "</td>"
response.write " </tr>"
response.write "</table>"

Isn't the inserted ASP translated into HTML output? I tried to insert it in specific events, but neither of them were able to place the required output in the HTML output.

Can anyone help me?

Thank you
Nucole
Posted: 08/28/2002, 11:48 PM

Ron,
as CCS supports ASP+Templates technology try to do the following:
1. add html table to html code of your page and instead output of request.querystring add Label type field from Toolbox->Forms window.
2. create page After Initialize event and assign desired value to the label field:
Label_name.Value = request.querystring("Documentnaam")

   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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