How to post data from user control - asp.net mvc

Posted by Dharmesh on Stack Overflow See other posts from Stack Overflow or by Dharmesh
Published on 2010-04-09T10:26:17Z Indexed on 2010/05/12 9:04 UTC
Read the original article Hit count: 156

Filed under:
|

Currently i am working on project in which login user control is there in master page. earlier i had seperate login.aspx page and was able to call login method of home controller (with acceptverb = post). now we have changed the idea, want to place login control on master page (home page).

Now when i click on login button of login control - it calls login method of controller class with acceptver = get. how can i call login method with acceptverb = post?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about mvc