public override void UpdateNode(ModelNode node) { IModelListViewFilters filtersNode = (IModelListViewFilters)node; #region CustomerFilters if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(Customer)) { bool flag = ((Employee)SecuritySystem.CurrentUser).IsUserInRole("SalesMGR") || ((Employee)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Customers will take longer"; myFilter.Caption = "All"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[LastInvoiceDate] >= ADDDAYS(LocalDateTimeToday(), -30) "; myFilter1.Index = 50; myFilter1.ToolTip = "All Customers who Purchase In 30 Days will take longer"; myFilter1.Caption = "All Customers who Purchase In 30 Days "; myFilter1.Description = "All Customers who Purchase In 30 Days "; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter2.Criteria = "[LastInvoiceDate] >= ADDDAYS(LocalDateTimeToday(), -60) "; myFilter2.Index = 51; myFilter2.ToolTip = "All Customers who Purchase In 60 Days will take longer"; myFilter2.Caption = "All Customers who Purchase In 60 Days "; myFilter2.Description = "All Customers who Purchase In 60 Days "; IModelListViewFilterItem myFilter4 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter4"); myFilter4.Criteria = "[LastInvoiceDate] >= ADDDAYS(LocalDateTimeToday(), -90) "; myFilter4.Index = 52; myFilter4.ToolTip = "All Customers who Purchase In 90 Days will take longer"; myFilter4.Caption = "All Customers who Purchase In 90 Days "; myFilter4.Description = "All Customers who Purchase In 90 Days "; IModelListViewFilterItem myFilter5 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter5"); myFilter5.Criteria = "[LastInvoiceDate] >= ADDDAYS(LocalDateTimeToday(), -365) "; myFilter5.Index = 53; myFilter5.ToolTip = "All Customers who Purchase In 365 Days will take longer"; myFilter5.Caption = "All Customers who Purchase In 365 Days "; myFilter5.Description = "All Customers who Purchase In 365 Days "; IModelListViewFilterItem myFilter3 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter3"); myFilter3.Criteria = "LastCallDate <= ADDDAYS(LocalDateTimeToday(), -30) || LastCallDate is null"; myFilter3.Index = 60; myFilter3.ToolTip = "All Customers Not Called in 30 Days"; myFilter3.Caption = "All Customers Not Called in 30 Days "; myFilter3.Description = "All Customers Not Called in 30 Days "; IModelListViewFilterItem myFilter6 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter6"); myFilter6.Criteria = "LastCallDate <= ADDDAYS(LocalDateTimeToday(), -60) || LastCallDate is null "; myFilter6.Index = 61; myFilter6.ToolTip = "All Customers Not Called in 60 Days"; myFilter6.Caption = "All Customers Not Called in 60 Days "; myFilter6.Description = "All Customers Not Called in 60 Days "; IModelListViewFilterItem myFilter7 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter7"); myFilter7.Criteria = "LastCallDate <= ADDDAYS(LocalDateTimeToday(), -90) || LastCallDate is null "; myFilter7.Index = 62; myFilter7.ToolTip = "All Customers Not Called in 90 Days"; myFilter7.Caption = "All Customers Not Called in 90 Days "; myFilter7.Description = "All Customers Not Called in 90 Days "; IModelListViewFilterItem myFilter8 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter8"); myFilter8.Criteria = "LastCallDate <= ADDDAYS(LocalDateTimeToday(), -365) || LastCallDate is null "; myFilter8.Index = 63; myFilter8.ToolTip = "All Customers Not Called in 365 Days"; myFilter8.Caption = "All Customers Not Called in 365 Days "; myFilter8.Description = "All Customers Not Called in 365 Days "; // [ListViewFilter(" My Customers Not Called in 30 Days", "[SalesRep] = CurrentUserName() && LastCallDate <= ADDDAYS(LocalDateTimeToday(), -30) ", " My Customers Not Called in 30 Days ", " My Customers Not Called in 30 Days", false, Index = 0)] //filtersNode.CurrentFilter = myFilter; } } #endregion #region Customer Notes if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(CustomerNote)) { bool flag = ((Employee)SecuritySystem.CurrentUser).IsUserInRole("SalesMgrRole") || ((Employee)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Notes will take longer"; myFilter.Caption = "All"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[NoteDate] > ADDDAYS(LocalDateTimeToday(), -365) "; myFilter1.Index = 98; myFilter1.ToolTip = "All Notes for the past 365 days"; myFilter1.Caption = "All Notes for the past 365 days"; myFilter1.Description = "All Notes for the past 365 days"; //filtersNode.CurrentFilter = myFilter; } } #endregion #region Customer cdr if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(CustomerCDR)) { bool flag = ((Employee)SecuritySystem.CurrentUser).IsUserInRole("CDRMgr") || ((Employee)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { //IModelListViewFilterItem myFilter = filtersNode.AddNode<IModelListViewFilterItem>("MyComplexFilter"); //myFilter.Criteria = ""; //myFilter.Index = 99; //myFilter.ToolTip = "All Notes will take longer"; //myFilter.Caption = "All"; //myFilter.Description = "All"; IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = "[CallDate] >= AddDays(LocalDateTimeNow(),-365) and [Customer] IS NOT NULL"; myFilter.Index = 99; myFilter.ToolTip = "All Calls for the last 365 days"; myFilter.Caption = "All Calls for last 365 Days"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[CallDate] = LocalDateTimeThisWeek() and [Customer] IS NOT NULL"; myFilter1.Index = 98; myFilter1.ToolTip = "All This Weeks Calls"; myFilter1.Caption = "All This Weeks Calls"; myFilter1.Description = "All This Weeks Calls"; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter2.Criteria = "[CallDate] = LocalDateTimeToday()and [Customer] IS NOT NULL"; myFilter2.Index = 97; myFilter2.ToolTip = "All Today's Calls"; myFilter2.Caption = "All Today's Calls"; myFilter2.Description = "All Today's Calls"; //filtersNode.CurrentFilter = myFilter; } } #endregion #region Customer InvoiceHistory if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(CustomerInvoiceHistory)) { bool flag = ((Employee)SecuritySystem.CurrentUser).IsUserInRole("AllCustomerInvoices") || ((Employee)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Invoices will take longer"; myFilter.Caption = "All Invoices"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[InvoiceDate] > ADDDAYS(LocalDateTimeToday(), -365)"; myFilter1.Index = 97; myFilter1.ToolTip = "All Past Year"; myFilter1.Caption = "All Past Year"; myFilter1.Description = "All Past Year Invoices"; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter1.Criteria = "[InvoiceDate] > LocalDateTimeThisMonth() and [InvoiceDate] < LocalDateTimeNextMonth()"; myFilter1.Index = 98; myFilter1.ToolTip = "All Last Month"; myFilter1.Caption = "All Last Month"; myFilter1.Description = "Last Month Invoices"; } } #endregion #region CustomerContacts if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(CustomerContact)) { bool flag = ((Employee)SecuritySystem.CurrentUser).IsUserInRole("SalesMgrRole") || ((Employee)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("ContactComplexFilter"); myFilter.Criteria = "ContactType = 'PRIMA'"; myFilter.Index = 50; myFilter.ToolTip = "All Primary Contact"; myFilter.Caption = "All Primary Contacts"; myFilter.Description = "All Primary Contacts"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("ContactComplexFilter1"); myFilter1.Criteria = "ContactType = 'AP'"; myFilter1.Index = 51; myFilter1.ToolTip = "All AP Contact"; myFilter1.Caption = "All AP Contacts"; myFilter1.Description = "All AP Contacts"; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("ContactsComplexFilter3"); myFilter2.Criteria = ""; myFilter2.Index = 98; myFilter2.ToolTip = "All"; myFilter2.Caption = "All Contacts"; myFilter.Description = "All Contacts"; } } #endregion #region Item Request // [ListViewFilter(" My Open Last 30 Day Request ", "[RequestBy] = CurrentUserName() && [RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -30) ", " My Open last 30 days Request ", "Request I created In the last 30 days", true, Index = 0)] // [ListViewFilter(" My Open Last 30 Day Request ", "[RequestBy] = CurrentUserName() && [RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -90) ", " My Open last 90 days Request ", "Request I created In the last 90 days", true, Index = 2)] // [ListViewFilter(" My ALL Open Request ", "[RequestBy] = CurrentUserName() && [RequestStatus] < 9 ", " My All Open Request ", "All Open Request I created", false, Index = 5)] // [ListViewFilter(" All ", "", " All", "All Request", false, Index = 10)] if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(ItemRequest)) { bool flag = ((Employee)SecuritySystem.CurrentUser).IsUserInRole("Purchasing") || ((Employee)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Request will take longer"; myFilter.Caption = "All"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[RequestStatus] < 9 "; myFilter1.Index = 82; myFilter1.ToolTip = "All open request "; myFilter1.Caption = "All open request"; myFilter1.Description = "All open "; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter2.Criteria = "[RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -30) "; myFilter2.Index = 80; myFilter2.ToolTip = "All open request for the past 30 days"; myFilter2.Caption = "All 30 day open request"; myFilter2.Description = "All open request for the past 30 days"; //filtersNode.CurrentFilter = myFilter; IModelListViewFilterItem myFilter3 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter3"); myFilter3.Criteria = "[RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -60) "; myFilter3.Index = 81; myFilter3.ToolTip = "All open request for the past 60 days"; myFilter3.Caption = "All 60 day open request"; myFilter3.Description = "All open request for the past 60 days"; //filtersNode.CurrentFilter = myFilter; IModelListViewFilterItem myFilter4 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter4"); myFilter4.Criteria = "[RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -90) "; myFilter4.Index = 82; myFilter4.ToolTip = "All open request for the past 90 days"; myFilter4.Caption = "All 90 day open request"; myFilter4.Description = "All open request for the past 90 days"; //filtersNode.CurrentFilter = myFilter; } } #endregion }
public override void UpdateNode(ModelNode node) { IModelListViewFilters filtersNode = (IModelListViewFilters)node; #region CustomerFilters if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(Customer)) { bool flag = ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("SalesMGR") || ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Customers will take longer"; myFilter.Caption = "All"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[LastInvoiceDate] >= ADDDAYS(LocalDateTimeToday(), -30) "; myFilter1.Index = 98; myFilter1.ToolTip = "All Customers who Purchase In 30 Days will take longer"; myFilter1.Caption = "All Customers who Purchase In 30 Days "; myFilter1.Description = "All Customers who Purchase In 30 Days "; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter2.Criteria = "[LastInvoiceDate] >= ADDDAYS(LocalDateTimeToday(), -60) "; myFilter2.Index = 98; myFilter2.ToolTip = "All Customers who Purchase In 60 Days will take longer"; myFilter2.Caption = "All Customers who Purchase In 60 Days "; myFilter2.Description = "All Customers who Purchase In 60 Days "; //filtersNode.CurrentFilter = myFilter; } } #endregion #region Customer Notes if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(CustomerNote)) { bool flag = ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("SalesMGR") || ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Notes will take longer"; myFilter.Caption = "All"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[NoteDate] > ADDDAYS(LocalDateTimeToday(), -365) "; myFilter1.Index = 98; myFilter1.ToolTip = "All Notes for the past 365 days"; myFilter1.Caption = "All Notes for the past 365 days"; myFilter1.Description = "All Notes for the past 365 days"; //filtersNode.CurrentFilter = myFilter; } } #endregion #region Customer cdr if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(CustomerCDR)) { bool flag = ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("CDRMgr") || ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Notes will take longer"; myFilter.Caption = "All"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[CallDate] = LocalDateTimeThisWeek() "; myFilter1.Index = 98; myFilter1.ToolTip = "All This Weeks Calls"; myFilter1.Caption = "All This Weeks Calls"; myFilter1.Description = "All This Weeks Calls"; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter2.Criteria = "[CallDate] = LocalDateTimeToday()"; myFilter2.Index = 97; myFilter2.ToolTip = "All Today's Calls"; myFilter2.Caption = "All Today's Calls"; myFilter2.Description = "All Today's Calls"; //filtersNode.CurrentFilter = myFilter; } } #endregion #region Customer InvoiceHistory // [ListViewFilter("Past Year", "[InvoiceDate] > ADDDAYS(LocalDateTimeToday(), -365)", "Past Year Invoice", "Only invoices in the past year. ", false)] // [ListViewFilter("Last Week", "[InvoiceDate] > LocalDateTimeLastWeek() and [InvoiceDate] < LocalDateTimeThisWeek()", "Last Week", "Last Weeks Invoices. ", false)] // [ListViewFilter("Last Month", "[InvoiceDate] > LocalDateTimeLastMonth() and [InvoiceDate] < LocalDateTimeThisMonth()", "Last Month", "Last month Invoices. ", false)] // [ListViewFilter("This Week", "[InvoiceDate] > LocalDateTimeThisWeek() and [InvoiceDate] <= LocalDateTimeToday()", "This Week", "This Weeks Invoices. ", false)] // [ListViewFilter("This Month", "[InvoiceDate] > LocalDateTimeThisMonth() and [InvoiceDate] < LocalDateTimeNextMonth()", "This Month", "Thisd month Invoices. ", false)] if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(CustomerInvoiceHistory)) { bool flag = ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("AllCustomerInvoices") || ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Invoices will take longer"; myFilter.Caption = "All Invoices"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[InvoiceDate] > ADDDAYS(LocalDateTimeToday(), -365)"; myFilter1.Index = 97; myFilter1.ToolTip = "All Past Year"; myFilter1.Caption = "All Past Year"; myFilter1.Description = "All Past Year Invoices"; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter1.Criteria = "[InvoiceDate] > LocalDateTimeThisMonth() and [InvoiceDate] < LocalDateTimeNextMonth()"; myFilter1.Index = 98; myFilter1.ToolTip = "All Last Month"; myFilter1.Caption = "All Last Month"; myFilter1.Description = "Last Month Invoices"; } } #endregion #region Item Request // [ListViewFilter(" My Open Last 30 Day Request ", "[RequestBy] = CurrentUserName() && [RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -30) ", " My Open last 30 days Request ", "Request I created In the last 30 days", true, Index = 0)] // [ListViewFilter(" My Open Last 30 Day Request ", "[RequestBy] = CurrentUserName() && [RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -90) ", " My Open last 90 days Request ", "Request I created In the last 90 days", true, Index = 2)] // [ListViewFilter(" My ALL Open Request ", "[RequestBy] = CurrentUserName() && [RequestStatus] < 9 ", " My All Open Request ", "All Open Request I created", false, Index = 5)] // [ListViewFilter(" All ", "", " All", "All Request", false, Index = 10)] if (((IModelListView)filtersNode.Parent).ModelClass.TypeInfo.Type == typeof(ItemRequest)) { bool flag = ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("Purchasing") || ((SecuritySystemUser)SecuritySystem.CurrentUser).IsUserInRole("Administrators"); if (flag) { IModelListViewFilterItem myFilter = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter"); myFilter.Criteria = ""; myFilter.Index = 99; myFilter.ToolTip = "All Request will take longer"; myFilter.Caption = "All"; myFilter.Description = "All"; IModelListViewFilterItem myFilter1 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter1"); myFilter1.Criteria = "[RequestStatus] < 9 "; myFilter1.Index = 82; myFilter1.ToolTip = "All open request "; myFilter1.Caption = "All open request"; myFilter1.Description = "All open "; IModelListViewFilterItem myFilter2 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter2"); myFilter2.Criteria = "[RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -30) "; myFilter2.Index = 80; myFilter2.ToolTip = "All open request for the past 30 days"; myFilter2.Caption = "All 30 day open request"; myFilter2.Description = "All open request for the past 30 days"; //filtersNode.CurrentFilter = myFilter; IModelListViewFilterItem myFilter3 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter3"); myFilter3.Criteria = "[RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -60) "; myFilter3.Index = 81; myFilter3.ToolTip = "All open request for the past 60 days"; myFilter3.Caption = "All 60 day open request"; myFilter3.Description = "All open request for the past 60 days"; //filtersNode.CurrentFilter = myFilter; IModelListViewFilterItem myFilter4 = filtersNode.AddNode <IModelListViewFilterItem>("MyComplexFilter4"); myFilter4.Criteria = "[RequestStatus] < 9 && [RequestDt] >= ADDDAYS(LocalDateTimeToday(), -90) "; myFilter4.Index = 82; myFilter4.ToolTip = "All open request for the past 90 days"; myFilter4.Caption = "All 90 day open request"; myFilter4.Description = "All open request for the past 90 days"; //filtersNode.CurrentFilter = myFilter; } } #endregion }