Exemplo n.º 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;
     }
 }
Exemplo n.º 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
         }
     }
 }