kaisersoze Posted January 29, 2004 Posted January 29, 2004 Hi all, I kept a datagrid in one panel. User can enter a new enter and click on save. everything works fine. But, a soos as the user clicks on refresh after saving, a duplicate record is insereted. Basically whats happeneing is previous event is fired again. but I dont want that to happen. is there a way to do. Quote Note: I think as a programmer not as a human, so use my answer at your will
kahlua001 Posted January 30, 2004 Posted January 30, 2004 You can use javascript to set a hidden value in the form after the submit to indicated whether the form was submitted. If that doesnt work for you, how about a cookie or session varaible. You will have to decide how to determine if the data being submitted really is a duplicate or not. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.