protected virtual void OnFiltering(SqlDataSourceFilteringEventArgs e)
        {
            SqlDataSourceFilteringEventHandler handler = base.Events[EventFiltering] as SqlDataSourceFilteringEventHandler;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
        protected virtual void OnFiltering(SqlDataSourceFilteringEventArgs e)
        {
            if (!HasEvents())
            {
                return;
            }
            SqlDataSourceFilteringEventHandler h = Events [EventFiltering] as SqlDataSourceFilteringEventHandler;

            if (h != null)
            {
                h(this, e);
            }
        }