Hello Vishal,
you should be use Ajax Literary as MVC3 having new feature,you can submit your form by using Ajax.Beginform.
write following stuff in your view
<script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>
br mode="hold" />
@using (Ajax.BeginForm("Sample", new AjaxOptions { UpdateTargetId = "targetId", HttpMethod = "Post"}))
{
}
it will "Sample" action in controller and append your result in "targetId" div
UpdateTargetId attribute specified where you want to display or update your result on page.
\\controller stuff
[httpPost]
public string Sample()
{
return "Action Called by AjaxBeginForm";
}
In this way you can submit you page by using Ajax.BeginForm method without refreshing your whole page.