CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Editable Grid / Redirect w/Message

Print topic Send  topic

Author Message
maggiemel

Posts: 75
Posted: 03/28/2005, 12:09 PM

More Editable Grid questions:

With my record forms, I like to send my users a message (after insert / update / delete) telling them that the action has been performed. I do this by appending a "Message" parameter to my Redirect URL and then a "Before Show" event which makes use of a custom template blow. Works nice.

Now I have an Editable Grid and I would like to send the same messages to users. However, with my Editable Grid if I use the same method to append the Message parameters, I get as many messages as there are records in the Editable Grid form. So, if the grid displays five records and I change one, then submit the form, the redirect page shows my "Your records have been updated" message five times!

I know there's probably an easy way around this -- only I can't seem to figure it out myself. Any help (peterr)?

Many thanks, as always.
_________________
Melissa Cahill
http://www.hellcatmaggie.net/
View profile  Send private message
Nicole

Posts: 586
Posted: 03/29/2005, 1:44 AM

Melissa,
You can put the code to After Submit event of editable grid. It is fired if no error is occurred and after all updated operations are performed.

_________________
Regards,
Nicole
View profile  Send private message
maggiemel

Posts: 75
Posted: 03/30/2005, 8:19 AM

Ah ha! Thanks, Nicole -- that's much better.
_________________
Melissa Cahill
http://www.hellcatmaggie.net/
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.