public ActionResult PartialAllocateSuspectGrid() { try { Prospect objProspect = new Prospect(); objProspect.CreatedBy = _username; objProspect = objProspectBusiness.LoadAllocateSuspect(objProspect); var aj = new Grid.Mvc.Ajax.GridExtensions.AjaxGridFactory(); var grid = (AjaxGrid <SuspectPool>) new AjaxGridFactory().CreateAjaxGrid((objProspect.ObjSuspectPool).AsQueryable(), 1, false, 2); return(PartialView(grid)); } catch (Exception e) { return(View("Error")); } }
public AIA.Life.Models.Opportunity.Prospect LoadAllocateSuspect(AIA.Life.Models.Opportunity.Prospect objPolicyData) { AIA.Life.Business.Prospect.ProspectBusiness objProspectBusiness = new AIA.Life.Business.Prospect.ProspectBusiness(); objPolicyData = objProspectBusiness.LoadAllocateSuspect(objPolicyData); return(objPolicyData); }