CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 ASP INCLUDE Pages for all CCPs?

Print topic Send  topic

Author Message
Suntower

Posts: 225
Posted: 09/20/2006, 1:44 PM

Is there a way to tell the project to include one or more ASP pages for all CCPs, as CCS does automagically with COMMON.ASP, CACHE.ASP, et al.?

TIA,

---JC
_________________
---On a campaign for more examples and better docs!
View profile  Send private message
Benp

Posts: 6
Posted: 09/21/2006, 5:37 AM

I think that you can add an include file in the Common.asp.

There is a "Include Files sections"

Ben

View profile  Send private message
Suntower

Posts: 225
Posted: 09/21/2006, 8:15 AM

Really?

I thought one was not supposed to touch these files, as they are auto-generated by CCS.

Besides, there is no 'embed' place in the Include Files section.

Can someone clarify?

---JC

Quote Benp:
I think that you can add an include file in the Common.asp.

There is a "Include Files sections"

Ben



_________________
---On a campaign for more examples and better docs!
View profile  Send private message
Wkempees
Posted: 09/21/2006, 12:26 PM

Just tried some for you JC.
ASP 3.0 with templates is the only ASP that even has a common.asp.
So, and I am only guessing, you can add your own function (like we do
PhP flavour) at the very end of the common.asp.
put them in the white area just before the final line having the ASP
closing.

Walter
BTW greetz
got the error fixed in your windowopen(), center vs. centre
no luck on the action though, otherwise occupied
Suntower

Posts: 225
Posted: 09/21/2006, 1:30 PM

Quote Wkempees:
Just tried some for you JC.
ASP 3.0 with templates is the only ASP that even has a common.asp.
So, and I am only guessing, you can add your own function (like we do
PhP flavour) at the very end of the common.asp.
put them in the white area just before the final line having the ASP
closing.

Interesting. Will try. Thanks.

NOTE TO Yessoftware: Maybe have something in the Project Explorer for adding one's own 'INCLUDE FILES' to the 'tree'.

Quote Wkempees:
Walter
BTW greetz
got the error fixed in your windowopen(), center vs. centre
no luck on the action though, otherwise occupied

Thanks, yeah the 'centre' thing was/is the least of my problems. I appreciate your looking at the 'action' thing. Look forward to what you come up with. Good to hear from you!
_________________
---On a campaign for more examples and better docs!
View profile  Send private message
peterr


Posts: 5971
Posted: 09/21/2006, 2:43 PM

You can include any files at the beginning or at the end of Common.asp. Every place outside of gray blocks is an 'embed' place.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
wkempees


Posts: 1679
Posted: 09/21/2006, 2:47 PM

Peter

Just out of curiousity:
ASP NET C#
ASP NET VB
How to do the same?

Walter

_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
peterr


Posts: 5971
Posted: 09/22/2006, 1:47 AM

I believe that .NET doesn't use "include" statements, therefore some other methods may be used depending on situation, for example by creating a user control.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Devang
Posted: 11/29/2006, 9:57 PM

Its best to keep a header page and include the files required there.

The reson being that the common.asp page needs to be recomplied during a version change and then u have to add the custom code again

You ca n touch the common.asp page as long as you take proper backups and precautins

hth
regards
devang

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.

Web Database

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.