How do I encapsulate form/post/validation[/redirect] in ViewUserControl in ASP.Net MVC 2
- by paul
What I am trying to achieve:
encapsulate a Login (or any) Form to be reused across site
post to self
when Login/validation fails, show original page with Validation Summary
(some might argue to just post to Login Page and show Validation Summary there; if what I'm trying to achieve isn't possible, I will just go that route)
…