Exemple #1
0
    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);
    }
Exemple #2
0
 public ActionResult CallbackPanelPartial(string fieldName, bool isShiftKeyPressed)
 {
     ProductsReport.SortBy(fieldName, isShiftKeyPressed);
     return(PartialView("_CallbackPanelPartial"));
 }