private void SaveFilters(FilterData data) { if (data == null) { data = new FilterData(); } data.Add("__search_string__", SearchString); data.Save(this); }
public static FilterData Load(Page page) { var filterData = new FilterData(); var data = page.Session[page.GetType().FullName] as Dictionary <string, object>; if (data != null) { filterData.Data = data; } return(filterData); }
private FilterData LoadFilters() { return(FilterData.Load(this)); }
protected virtual void OnLoadFilters(FilterData data) { }
protected virtual FilterData GetFilters(FilterData data) { return(null); }