There are some text boxes on my page. When I submit the page, the controls retain their state after postback. I know that ASP.NET MVC does not have a concept of viewstate. So how can it be possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you submit the form values are sent along the request (in the URL if GET and in the request body if POST) and if the controller action renders the same view without redirecting the HTML helpers that were used to render those textboxes will fetch the values from the request show it. Indeed there’s no such concept as viewstate.