1

I heard that ASP.net MVC does not maintain View State.So,here is my question

I have an MVC -View which has forward and backward html button.When i click forward and again click backward ,how can i maintain html control state then?

1 Answer 1

2

Here are a couple of ways to handle state in ASP.NET MVC:

  1. Request parameters
  2. Hidden fields
  3. Session

There's also a nice helper in ASP.NET Futures that allow you to serialize/deserialize models using view state.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.