Asp net textbox value not updating on postback
You can clear out the entire Model State by calling The reason we use the posted value for editors rather than the model value is that the model may not be able to contain the value that the user typed.
Imagine in your "int" editor the user had typed "dog".
When a user changes these values, they are not saved and the textboxes are cleared out after the submit button is clicked. i have put this code in my page load event View State["stock"] = Text Box Material. Text; View State["ship Time"] = Text Box Ship Time.
To String(); string supplier = View State["supplier"]. Selected Value; string mat Time1 = View State["mat Time"]. Selected Value; string prod Time1 = View State["prod Time"]. Selected Value; string ship Time1 = View State["ship Time"]. Selected Value; Culture Info culture Info = Culture Info.