Exemple #1
0
 protected override string GetCallbackResult()
 {
     if (this.FilterExpression != "")
     {
         GridViewFilteringEventArgs ee = new GridViewFilteringEventArgs();
         ee.FilterExpression = this.FilterExpression;
         GridViewFiltering(this, ee);
     }
     return(base.GetCallbackResult());
 }
Exemple #2
0
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     if (!this.DesignMode)
     {
         if (this.FilterExpression != "")
         {
             GridViewFilteringEventArgs ee = new GridViewFilteringEventArgs();
             ee.FilterExpression = this.FilterExpression;
             GridViewFiltering(this, ee);
         }
     }
     //if (this.SortExpression == "")
     //{
     //    this.Sort(this.DefaultSortExpression, SortDirection.Ascending);
     //}
 }