0

Considering that ASP.net MVC doesn't support PostBack or ViewState, why are server controls available when creating asp.net mvc applications?

1 Answer 1

2

They are available only if you are using the WebForms view engine because they come as legacy from classic WebForms. With Razor they are no longer available. Anyway, they should never be used in an ASP.NET MVC application so why care about them? If you are working with an ASP.NET MVC application think of them as something non-existent.

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.