CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Specifying a different Return Page

Print topic Send  topic

Author Message
Kevin Roczey
Posted: 08/04/2004, 4:15 PM

Hello,

I have researched this and have stumbled my way though some of the links I've found without any luck (other than page errors!).

I have several grid forms where the first column is a ticket #. If the user clicks on this column it takes them to an edit record form. The problem is, when they then click submit, delete or cancel on the edit record form, how do I know which grid to return them to. It looks like there is a way to change the return page on the fly, but I'm not sure where to put the entries and exactly what entries to put. Any help would be appreciated.

Thanks in advance.

Kevin R.
peterr


Posts: 5971
Posted: 08/05/2004, 1:06 AM

You could add an Expression type parameter in the "Href Source" property of each grid. For example one grid could have a parameter parameter abc=1, another abc=2, etc.
Then in the Record form you can set "Preserve Paramaters = GET" and in the After Delete/Update events you can redirect the page based on that parameter.
You may use the Redirect example at http://docs.codecharge.com/studio/html/QuickStart/EnhAp...rInitEvent.html , or use Response.Redirect.

Sorry I haven't have time to test this solution and provide exact code, so please treat it only as a tip.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.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.

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.