public override void OnPageLoad(object sender, EventArgs e) { base.OnPageLoad(sender, e); this.GridFilter.DataContext = _queryVM = new HelpCenterQueryVM(); LoadComboxData(); }
public void Query(HelpCenterQueryVM vm, PagingInfo pagingInfo, EventHandler <RestClientEventArgs <dynamic> > callback) { var data = vm.ConvertVM <HelpCenterQueryVM, HelpCenterQueryFilter>(); data.PageInfo = pagingInfo; data.CompanyCode = CPApplication.Current.CompanyCode; string relativeUrl = "/MKTService/HelpCenter/Query"; restClient.QueryDynamicData(relativeUrl, data, callback); }