hi,
i have a controller as follow
// login model is my model class
[HttpPost]
public ActionResult Login(Login model)
{
    return View();
}
than in my view i have following field
@using (Html.BeginForm())
{    
    <p>
        UserName: @Html.TextBoxFor(m=>m.UserName)
    </p>    
    <p>
        Password: @Html.PasswordFor(m => m.Password)
    </p>
    <p>
        <input type="submit" name="login" value="Login" />
        <input type="submit" name="cancel" value="Cancel" />
    </p>
}
i want to check in controller whether user has click on cancel button or login button how to check please advice thanks