0
Posted on 2:02 AM by Softminer and filed under

public static void InfoButton(this HtmlHelper helper, string id, string description)
{
var response = helper.ViewContext.HttpContext.Response;
System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(helper, "_partial", 
new ViewDataDictionary { { "id", id }, { "descr", description } });
}
0
Responses to ... Calling partial view in MVC as HTML helper class