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 -> General/Other

 Dynamicly change includepage

Print topic Send  topic

Author Message
yusufakyol


Posts: 73
Posted: 11/07/2008, 8:43 AM

Hi,
Does anybody know it's possible dynamicly changes includepage and if yes, how?
Thanks all helps.
Best regards.

_________________
Best Regards
View profile  Send private message
Gena

Posts: 591
Posted: 11/07/2008, 8:51 AM

Quote yusufakyol:
Does anybody know it's possible dynamicly changes includepage and if yes, how?

What you mean by "change"?

_________________
Gena
View profile  Send private message
yusufakyol


Posts: 73
Posted: 11/07/2008, 9:34 AM

Hi,
I have two ccs includable page are named as newincludablepage1.php and newicludablepage2.php. I want to load one of these when user clicks one of two links.
Thanks for your help.
Best regards.
_________________
Best Regards
View profile  Send private message
Gena

Posts: 591
Posted: 11/07/2008, 9:41 AM

I see.

I'm using for this Pannels. So put two includable pages on your page, select code of first incl and press Panel icon - this will surrounds a Pannel over your inclpage. Make the same wih the second. So you will have Page like:

Panel1_begin
InclPage1
Panel1_end

Panel2_begin
InclPage2
Panel2_end

Go to Page event BeforeShow and put action Hide/Show component for each panels depending of passed parameters (put some additional parameters for your links)...
_________________
Gena
View profile  Send private message
yusufakyol


Posts: 73
Posted: 11/07/2008, 10:30 AM

Hi,
Super... Thanks for your fast response...
But one more question... If I include two panels, two programs would be run. And I don't want these. One program for first panel, second one for scond panel. Am I right?
May be you have more solution.
Thanks again.
Best regards.
_________________
Best Regards
View profile  Send private message
Gena

Posts: 591
Posted: 11/07/2008, 12:07 PM

You should Hide one panel and Show second and vice versa (using action Hide/Show component) so you will have just One includable page (first or second) on your Page. Also only one code will be executed for the panel - just for that which is visible.
_________________
Gena
View profile  Send private message
yusufakyol


Posts: 73
Posted: 11/07/2008, 12:18 PM

Hi Gena,
I learned many things from you.....Thanks too much...
Best regards.
_________________
Best Regards
View profile  Send private message
Gena

Posts: 591
Posted: 11/07/2008, 1:01 PM

You are welcome!
_________________
Gena
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 11/12/2008, 5:27 AM

yusufakyol
Could you please put [RESOLVED] or [SOLVED] in your thread header. Thanks.
View profile  Send private message
yusufakyol


Posts: 73
Posted: 11/12/2008, 5:39 AM

[SOLVED]
Thanks to everybody...
_________________
Best Regards
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.

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.