예제 #1
0
 public FilterBoxModel(string controlName, string filterActionName, StringDictionary dictionary)
 {
     ControlName      = controlName;
     FilterActionName = filterActionName;
     Dictionary       = dictionary;
     RouteValues      = new List <KeyValuePair <string, object> >();
     DateFrom         = null;
     DateTo           = null;
     ShowDatesFilter  = DateTimeSearchControlType.None;
 }
예제 #2
0
 public FilterBoxModel(string controlName, string filterActionName, StringDictionary dictionary, DateTimeSearchControlType showDatesFilter)
     : this(controlName, filterActionName, dictionary)
 {
     ShowDatesFilter = showDatesFilter;
 }