Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Login form
Message
From
23/12/2013 12:45:20
John Baird
Coatesville, Pennsylvania, United States
 
 
To
23/12/2013 12:37:18
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01590776
Message ID:
01590887
Views:
47
>>Figured it out. The userController was firing the index method and not login. When I added an index override with [httpPost] it works like a charm. Thanks for the help. There will be many more requests I'm sure... LOL
>
>Since the view you are using is the index view, and you aren't specifying a different post action in your begin form, it will post back to the same controller/action that originated the view. If you want to direct it to the login on the postback, use the overload of the BeginForm method that specifies the controller and action: http://msdn.microsoft.com/en-us/library/dd492692%28v=vs.118%29.aspx

Thanks... I ended up watching a series of pluralsight courses on asp.net mvc and learned a lot about how it all works. Trying to progress....
Previous
Reply
Map
View

Click here to load this message in the networking platform