CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 CCS Includable Pages in Classic ASP - I'm missing something.

Print topic Send  topic

Author Message
affriedl

Posts: 24
Posted: 06/28/2006, 9:24 AM

Using the Trial Version of CCS I used one of the wizards and created an 'Includable Page' containing a grid with a search form.

After I generated the page I found two things - an ASP File and an html template file. After a bit of work I was able to embed these items within another ASP page (not CCS generated) and able to get everything showing up - is there any docs on this sort of thing?

My problem is that while the search and grid show up properly the search and grid do not work together - submitting the search does not modify the contents of the grid properly as it does in a non-includable page. Obviously I must have missed something - but what?

Has anyone else done this - taken a CCS Includable page and embedded it into something completely unassociated with CCS?

I'd like to get this working - nothing I have seen produces output as nicely as CCS, and I'd like to embed the RAD output into other ASP applications where possible.

Thanks!
View profile  Send private message
peterr


Posts: 5971
Posted: 06/28/2006, 1:33 PM

First, it should be easier to include a standard CCS page (non-includable) into other ASP programs. Therefore I'd regenerate your page as non-includable, or create a new page that only includes the includable page - then include that one in your ASP program.
Though I'm not sure if this will solve your specific problem, thus here is general suggestion for debugging your issue:
Search and Grid are usually not directly related to each other - the Search only adds user's input into the URL, while Grid reads those URL parameters and displays filtered data. To determine which of them doesn't work properly check if the URL contains your input after you execute the search. If any or all URL parameters are missing then the Search doesn't work properly. If all URL parameters are present then the Grid doesn't work properly. Then you can debug one of these non-working components on its own, without paying attention to the other.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
affriedl

Posts: 24
Posted: 06/29/2006, 9:19 AM

Peter,

You are correct. I switched to generating non-includable pages and then doing a little hacking on the source to fit it into the content management system pages. This works very well and the searches and grids all work exactly as they are supposed to - it is very nice to be able to use CCS to enhance an existing application.

The main gotchas are making sure CCS code is executed only when your hosting page is ready and insuring that the CCS based redirects and end of page routines are modified to invoke those pre-redirect and pre-end of page routines used by the hosting application (closing your own DB connection, etc). Once you figure these out it's very simple to generate new pages and reports and to include them in ASP applications that are not CCS based.

I still wonder about the Includeable pages though. It is such a good idea to be able to include a CCS generated ASP page, create an Object, set some properties and then invoke it at just the right time. The code looked much cleaner and maintainable when written that way. And regenerating the CCS page didn't require another cut and paste session.

My thought would be to allow code to be generated this way and allow the hosting page to either generate the code to a string, or directly to the pages output mechanism.

Thanks for you help. I am forwarding my recommendation to purchase and use CCS to my managers here at the telecom.
View profile  Send private message

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.