Home > Forum > ASP.NET > form submission

form submission

by saravanan   on Dec 13, 2014   Category: ASP.NET  |  Views: 1377    |  Points: 5   |  Starter 
in my web form have more textbox and one button control. when i click the button the textbox value will be stored in database and landing the same page. when i refresh the page the crome browser ask resubmission dialog box and then i click ok the page was resubmitted. how to avoid these.

Bookmark and Share:
  User Reply  | Ask a question  |   Reply 
  Re :form submission   
by Thamil
on Feb 3 2015 6:36AM
Points : 10
Hi saravanan,

1. Once data is stored in database then clear the existing values from textbox.
2. Add the required field validations wherever required.
3. Now when you resubmitting the page, system would validate the mandatory field and it prevent the resubmission.

Recent Post

Latest Posts

1 ??????? ?? ????? New! Forum