MVC - Cannot login from Home page?
I recently create a new MVC project using VS2010, and the standard template. I want to have the login on my Main page at the top. However, the way MVC is architected from the template is that you need to click on a Login link from the main "View" page which then takes you to the "Login.aspx" page. The Login.aspx page then contains the "Username", "Password" etc.. fields for logging in. I created a new User Control that would contain the "Username", "Password" fields and added it to the Master page, which then shows up on the Main page. The problem is, is that Multiple Inheritance is not supported.
The Main page "Inherits" from one class and the "Login.aspx" page "Inherits" from the "............<.....LoginModel> class that was automatically generated from the template.
How can I move this Login Model to my main page (Index.aspx) or to my Master page?
I think I am running into the Limitations of MVC?
Thanks for any help!