CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge -> General/Other

 displaying a web page

Print topic Send  topic

Author Message
lkarelee

Posts: 10
Posted: 07/10/2008, 7:19 AM

Can someone tell me how to display a web page without having to click on a hyper link? This is for code charge studio -
View profile  Send private message
jjrjr1


Posts: 942
Posted: 07/10/2008, 1:19 PM

Hi

Not to sure what your implementation is here. By not clicking on a hyper link do you mean link to a page from a set of coding conditions and, in the code, link to a new page?

If so there are a couple of ways to do that.

1. By using the $Redirect string.

In certain events like before show, on validate, etc. declare $Redirect as global, and put the url into the $Redirect string.

2. you can also do it by setting location in the HTTP header like so.

$location= "any url";
header("HTTP/1.1 302 Found");
header("Location: " . $location);
exit;
That shoud cover most any situations in PHP.

In HTML client side events

window.location="any url";

will do it in javascript.

Is that what you needed?



_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com
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.

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.