how to clear text field after submit data into database,
i am using ModelState.Clear() but its not clear the the textfield after submit data into database on button clear in asp.net mvc view .....
pleasse anyone can help me.......
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Midhun TpRank #388 · 6.5K reputationPosted Sep 25, 2016, 12:04 AM EDT
Please have a look at similar threads-
http://stackoverflow.com/questions/27589005/how-to-clear-model-after-submit-the-data-in-database-in-mvc3
http://stackoverflow.com/questions/4887192/clearing-text-box-fields-on-a-page-in-mvc
Delpin Susai RajRank #53 · 29.5K reputationPosted Sep 25, 2016, 1:33 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Sep 25, 2016, 1:34 AM EDT
Delpin Susai RajRank #53 · 29.5K reputationPosted Sep 25, 2016, 1:34 AM EDT
Sudeep Chourasia192 reputationPosted Sep 29, 2016, 6:00 AM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Sep 29, 2016, 6:19 AM EDT