private void HandleFilterCommand(object sender, EventArgs e)
        {
            this.RequiresDataBinding = true;  //this is required to make sure that unsetting of filter is also handled
            FilterCommandEventArgs filterArgs = new FilterCommandEventArgs();

            filterArgs.FilterExpression = GetFilterCommand();
            this.OnFilterCommand(filterArgs);
        }
        protected virtual void OnFilterCommand(FilterCommandEventArgs e)
        {
            EventHandler handler = (EventHandler)base.Events[EventFilterCommand];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #3
0
 private void HandleFilterCommand(object sender, EventArgs e)
 {
     this.RequiresDataBinding = true;  //this is required to make sure that unsetting of filter is also handled
     FilterCommandEventArgs filterArgs = new FilterCommandEventArgs();
     filterArgs.FilterExpression = GetFilterCommand();
     this.OnFilterCommand(filterArgs);
 }
Example #4
0
 protected virtual void OnFilterCommand(FilterCommandEventArgs e)
 {
     EventHandler handler = (EventHandler)base.Events[EventFilterCommand];
     if (handler != null)
     {
         handler(this, e);
     }
 }