private void rgv_FilterOperatorsLoading(object sender, Telerik.Windows.Controls.GridView.FilterOperatorsLoadingEventArgs e)
        {
            //if (e.Column.UniqueName == "Descripcion")
            //{
            //    e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.IsGreaterThan;
            //    e.DefaultOperator2 = Telerik.Windows.Data.FilterOperator.IsLessThan;
            //}

            // if (e.Column.UniqueName == "Descripcion")
            //{
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsEqualTo);
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotEqualTo);

            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.StartsWith);
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.EndsWith);

            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsGreaterThanOrEqualTo);
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsLessThanOrEqualTo);

            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNull);
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotNull);

            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsGreaterThan);
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsLessThan);

            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsEmpty);
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotEmpty);

            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsContainedIn);
            e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotContainedIn);

            e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.Contains;
            e.DefaultOperator2 = Telerik.Windows.Data.FilterOperator.DoesNotContain;

            // this.rgv.AutoGenerateColumns = true;

            //  this.lblRows.Text = rgv.Items.Count.ToString() + " Registros";
            this.rgv.Columns["Fecha"].ShowFieldFilters = false;
            this.rgv.Columns["Fecha"].IsFilterable     = false;
            //  this.rgv.Columns["Fecha"].fo
            this.rgv.Columns["Estatus"].IsFilterable     = false;
            this.rgv.Columns["Estatus"].ShowFieldFilters = false;
            //this.rgv.Columns["Unidad"].IsFilterable = false;
            //this.rgv.Columns["Unidad"].ShowFieldFilters = false;

            this.rgv.Columns["Nombre"].Width     = 150;
            this.rgv.Columns["Nivel"].Background = Brushes.LightGray;
            this.rgv.Columns["Nivel"].Width      = 50;

            this.rgv.Columns["Codigo"].Background = Brushes.LightGray;

            //this.rgv.Columns["Unidad"].Width = 50;
            //this.rgv.Columns["Estatus"].Width = 50;



            //}
        }
 private void SLRadGridView_FilterOperatorsLoading(object sender, Telerik.Windows.Controls.GridView.FilterOperatorsLoadingEventArgs e)
 {
     e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.IsEqualTo;
     e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsContainedIn);
     e.AvailableOperators.Remove(Telerik.Windows.Data.FilterOperator.IsNotContainedIn);
 }
 private void radTreeListView_FilterOperatorsLoading(object sender, Telerik.Windows.Controls.GridView.FilterOperatorsLoadingEventArgs e)
 {
     e.DefaultOperator1 = Telerik.Windows.Data.FilterOperator.Contains;
 }