예제 #1
0
 void filterCallBack_CallBackRaiseEvent(object sender, CallbackRaiseEventArgs e)
 {
     if (e.CallBackCommand.Trim() != "")
     {
         this.PageIndex        = 0;
         this.FilterExpression = e.CallBackCommand.Trim();
     }
     else
     {
         this.PageIndex        = 0;
         this.FilterExpression = string.Empty;
     }
 }
예제 #2
0
 public void RaiseCallbackEvent(string eventArgument)
 {
     if (this.Enabled)
     {
         try
         {
             CallbackRaiseEventArgs e = new CallbackRaiseEventArgs();
             e.CallBackCommand = eventArgument;
             CallBackRaiseEvent(this, e);
         }
         catch
         {
             // nothing to do
         }
     }
 }