protected void сallbackPanel_Callback(object sender, DevExpress.Web.CallbackEventArgsBase e) { string[] parameters = e.Parameter.Split('|'); string fieldName = parameters[0]; bool isShiftKeyPressed = Boolean.Parse(parameters[1]); ProductsReport.SortBy(fieldName, isShiftKeyPressed); }
public ActionResult CallbackPanelPartial(string fieldName, bool isShiftKeyPressed) { ProductsReport.SortBy(fieldName, isShiftKeyPressed); return(PartialView("_CallbackPanelPartial")); }