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; } }
public void RaiseCallbackEvent(string eventArgument) { if (this.Enabled) { try { CallbackRaiseEventArgs e = new CallbackRaiseEventArgs(); e.CallBackCommand = eventArgument; CallBackRaiseEvent(this, e); } catch { // nothing to do } } }