> search data not being displayed after search using ajax in mvc..data binding also completed but display is not done
@*
@Html.DropDownList("MasterGenericID", null, "--- Select Therapeutic ---", new { @class = "select2-arrow" })
*@
@Html.DropDownList("MasterTherapeuticID", null, "--- Select Therapeutic ---", new { @class = "select2-arrow" })
@Html.DropDownList("MasterSubTherapeuticID", null, "--- Select Therapeutic ---", new { @class = "select2-arrow" })
@Html.DropDownList("MasterFormulationID", null, "--- Select Therapeutic ---", new { @class = "select2-arrow" })

class="table table-striped"
data-toolbar="#toolbar"
data-search="true"
data-show-refresh="true"
data-show-toggle="true"
data-show-columns="true"
data-show-export="true"
data-detail-view="true"
data-detail-formatter="detailFormatter"
data-minimum-count-columns="2"
data-show-pagination-switch="true"
data-pagination="true"
data-id-field="id"
data-page-list="[10, 25, 50, 100, ALL]"
data-show-footer="false"
data-response-handler="responseHandler">
@foreach (var item in @Model.Products)
{
}
BrandNameGenericNameTherapeuticNamePcompanyNAmeFormulationMRP
@item.BrandName@item.GenericName@item.TherapeuticName@item.PcompanyNAme@item.Formulation@item.MRP
    @for (int pagenum = 1; pagenum <= Model.PagerCount; pagenum++)
    {
    }
    @section scripts{
    }
    public ActionResult ProductMasterview(int? TherapeuticID, int? FormulationID, int? SubTherapeuticID, int? pageNumber)
    {
    if (TherapeuticID > 0 || FormulationID > 0 || SubTherapeuticID > 0)
    {
    //Generic_Bind();
    Therapeutic_Bind();
    SubTherapeutic_Bind();
    Formulation_Bind();
    Productmaster model = new Productmaster();
    model.PageNumber = (pageNumber == null ? 1 : Convert.ToInt32(pageNumber));
    model.PageSize = 25;
    List products = dPMSP.GetAllProductsUsingGenericID(TherapeuticID);
    if (products != null)
    {
    model.Products = products.OrderBy(x => x.ProductID)
    .Skip(model.PageSize * (model.PageNumber - 1))
    .Take(model.PageSize).ToList();
    model.TotalCount = products.Count();
    var page = (model.TotalCount / model.PageSize) - (model.TotalCount % model.PageSize == 0 ? 1 : 0);
    model.PagerCount = page + 1;
    }
    var data = new { products = products, Model = model };
    return View(model);
    }
    else
    {
    //Generic_Bind();
    Therapeutic_Bind();
    SubTherapeutic_Bind();
    Formulation_Bind();
    Productmaster model = new Productmaster();
    model.PageNumber = (pageNumber == null ? 1 : Convert.ToInt32(pageNumber));
    model.PageSize = 25;
    List products = dPMSP.GetAllProducts();
    if (products != null)
    {
    model.Products = products.OrderBy(x => x.ProductID)
    .Skip(model.PageSize * (model.PageNumber - 1))
    .Take(model.PageSize).ToList();
    model.TotalCount = products.Count();
    var page = (model.TotalCount / model.PageSize) - (model.TotalCount % model.PageSize == 0 ? 1 : 0);
    model.PagerCount = page + 1;
    }
    var data = new { products = products, Model=model };
    return View(model);
    }
    }