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

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