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

 Editable grid redirect (SOLVED)

Print topic Send  topic

Author Message
saseow

Posts: 744
Posted: 12/16/2012, 11:19 PM

I am trying to redirect to a new page once all records in an Editable grid have been processed for update.
The After Update event occurs after every row.
Any ideas??
View profile  Send private message
MichaelMcDonald

Posts: 640
Posted: 12/17/2012, 4:40 AM

After Submit or Button On Click ?

global $Redirect;

$Redirect = "anotherpage.php";


_________________
Central Coast, NSW, Australia.

View profile  Send private message
saseow

Posts: 744
Posted: 12/17/2012, 4:56 AM

Thanks for the reply but that does not work either on an editable grid.
My solution was:

In After Update event, increase a session var by 1 and compare that with the number of rows loaded. If they are equal then you can do the redirect.
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.