How to post data from user control

Total Post:134


 1374  View(s)
Rate this:

Currently i am working on project in which login user control is there in master 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?

  1. Re: How to post data from user control

    Hi Tanuj, 

    try this:

    <% using (Html.BeginForm("Login", "Home")) { %>

     ...your form & submit here

    <% } %>


Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.