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 -> PHP

 Hiding/showing include pages based on criteria

Print topic Send  topic

Author Message
NerishaB

Posts: 25
Posted: 11/10/2010, 7:42 AM

Hi there,

I am very new to Codecharge, and I have a page that allows the user to email a customer. The email page has include pages that provide detail about the customer, and this gets populated when the user clicks on the link to email page. This works well. I now want to add the same functionality to another page, "Potential Clients" page. These are not yet customers on our database, and are stored in a different table. So the include pages that provide detail will not be populate in this case. I would like to know how I can hide the include pages for the Customers, and show a different include page for the Potential Clients. Does anyone know hoe to do this?
View profile  Send private message
datadoit
Posted: 11/10/2010, 8:11 AM

You have full control over showing/hiding include pages via BeforeShow
for the host page.

if (this) {
$Container->ThisInclude->Visible = false;
}

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.

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.