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