Mar 12, 2009, 10:55 PM
Hello, ComboBox Remote Query Question
Hi, guys!
this is my combobox setting:
But the only question is combobox will do query everytime when i input some text. I hope it do query only when I press its triggerbutton. any setting can help me solve it? Thanks.
this is my combobox setting:
cbo.TriggerAction =TriggerAction.All;// TriggerAction.Query;
cbo.DisplayField = "DSP";
cbo.ValueField = "VAL";
cbo.Mode = DataLoadMode.Remote; //DataLoadMode.Local;
cbo.LoadingText = "Searching...";
cbo.Editable = true;
cbo.ItemSelector = "tr.trSelectBoxBody";
cbo.SelectOnFocus =false ;
cbo.ValidateOnBlur = true;
cbo.ValidationEvent = "blur";
cbo.MinChars = 4;
cbo.Validator="comboValidating";
cbo.Listeners.BeforeQuery.Handler = "beforeQuery(this);";
cbo.MsgTarget = MessageTarget.Side;
cbo.QueryDelay = 300;
it works fine.But the only question is combobox will do query everytime when i input some text. I hope it do query only when I press its triggerbutton. any setting can help me solve it? Thanks.