How to retain textbox values after post back in mvc
I have a strongly type view and in which i have four textboxes and this view is strongly typed view i am using textboxfor(model.property) when i click the submit button it clears the form i want to persists the form do not clear the textboxfor values how to acheive that i mvc.
Bryian TanRank #396 · 6.3K reputationPosted Mar 4, 2017, 7:22 AM EST
Mark TaborRank #914 · 2.3K reputationPosted Mar 4, 2017, 12:01 AM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Mar 4, 2017, 12:33 AM EST
Mark TaborRank #914 · 2.3K reputationPosted Mar 4, 2017, 1:07 AM EST
TheTexting SMS GateWay Demo
Note: all the fields with (*) are required fields.
Number must be international format like for USA : 13306807200 (where prefix 1 is USA country dialing code)
Mark TaborRank #914 · 2.3K reputationPosted Mar 4, 2017, 4:13 AM EST
@TempData["Success"]
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts