CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Custom Includes - Where do i put them in CC

Print topic Send  topic

Author Message
beer-monkey.com
Posted: 01/31/2002, 5:53 AM

I would like to have a custom include associated with each ASP page.... sitting just after common.asp i.e.

<!-- #INCLUDE FILE="Common.asp" -->
<!-- #INCLUDE FILE="Country.asp" -->

How would i do this? where would i need to put this in CodeCharge so that i don't need to add it manually after every re-gen?

Thanks in advance....


Nicole
Posted: 01/31/2002, 6:16 AM

Hello,
open Page Properties->Events tab, select Custom Include event and paste include files code there/
Paul
Posted: 01/31/2002, 6:30 AM

Thanks Nicole..... fantastic as always.....

Is there anyway of doing this for all files, instead of individually?
Nicole
Posted: 01/31/2002, 7:06 AM

Try to create Open Any Page event under Modules section. In this case the code will be included into Open event of all pages.
Doug S
Posted: 01/31/2002, 9:51 AM

Nicole-

I have a similar need but I need to have the include in the common.asp. I get errors when I use the open any page event. And I hate regenerating/obtaining common.asp only to have to edit it over and over again. my include really behaves properly when put underneath the two includes that CC uses at the very beginning of common.asp. (not sure why, but that's the scoop)... any ideas?

Thxs,
Doug

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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