示例#1
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);
        }
示例#2
0
        protected virtual void OnFilterCommand(FilterCommandEventArgs e)
        {
            EventHandler handler = (EventHandler)base.Events[EventFilterCommand];

            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#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);
 }
示例#4
0
 protected virtual void OnFilterCommand(FilterCommandEventArgs e)
 {
     EventHandler handler = (EventHandler)base.Events[EventFilterCommand];
     if (handler != null)
     {
         handler(this, e);
     }
 }