I use a partial view. In it I have:

```
@using (Html.BeginForm("MyMethod", "MyController", FormMethod.Post))
{
<input type="submit" id="btn1" name="btnSubmit" value="Add record" />
<input type="submit" id="btn2" name="btnSubmit" value="Use record" />
}

```

Then in the Controller [HttpPost] method I have:

```
[HttpPost]
public ActionResult MyMethod(string btnSubmit)
{
...
}

```

The problem is the btnSubmit is always null. I tried calling this partial view directly and it returns the right value.

Any idea how to fix this? Thanks in advance.