Beispiel #1
0
        public GridComboAction JavaScriptWithRowId(string label, string jsFuncName)
        {
            var action = new GridComboAction(label, jsFuncName);

            ComboActionOfTheGrid.Add(action);
            return(action);
        }
Beispiel #2
0
        public GridComboAction RedirectParentWithChildWithRowId(string label, object routeValues)
        {
            var action = new GridComboAction(label, routeValues);

            ComboActionOfTheGrid.Add(action);
            return(action);
        }
Beispiel #3
0
        public GridComboAction RedirectWithRowIdAsParent(string label, string parentName, string controller, string method)
        {
            var action = new GridComboAction(label, parentName, controller, method);

            ComboActionOfTheGrid.Add(action);
            return(action);
        }
Beispiel #4
0
 public GridComboAction RedirectWithRowId(string label, string controller, string method, bool habilitar)
 {
     if (habilitar)
     {
         var action = new GridComboAction(label, controller, method);
         ComboActionOfTheGrid.Add(action);
         return(action);
     }
     return(new GridComboAction(label, controller, method));
 }