Telerik RadCombobox SelectedIndexedChange事件

Telerik RadCombobox SelectedIndexedChange事件,telerik,Telerik,我有一个telerik:RadCombobox,用户可以在其中键入一些内容来过滤记录 如果用户在taht控件中键入一些单词和选项卡,或者单击表单上的任何其他位置(基本上是onblur),则会触发selectedindexedchanged事件,这是我不希望看到的 请告知 我的页面上有以下html代码: <telerik:RadComboBox ID="RCBGlobalSearch" runat="server" Height="190px" Width="330px"

我有一个
telerik:RadCombobox
,用户可以在其中键入一些内容来过滤记录

如果用户在taht控件中键入一些单词和选项卡,或者单击表单上的任何其他位置(基本上是onblur),则会触发selectedindexedchanged事件,这是我不希望看到的

请告知

我的页面上有以下html代码:

<telerik:RadComboBox ID="RCBGlobalSearch" runat="server" Height="190px" Width="330px"
                                            EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true"
                                            OnClientDropDownClosed="OnClientDropDownClosed" MarkFirstMatch="false" Filter="None"
                                            HighlightTemplatedItems="true" Style="z-index: 9000" OnSelectedIndexChanged="RCBGlobalSearch_SelectedIndexChanged"
                                            AutoPostBack="true" ToolTip="Enter or Select Issuer or User for Search">
                                            <ExpandAnimation Type="none" />
                                            <CollapseAnimation Type="none" />
                                            <WebServiceSettings Path="~\GlobalSearchWebService.asmx" Method="GetGlobalSearchResult" />
                                        </telerik:RadComboBox>


-set_cancel允许您阻止组合框进行回发(如果AutoPostBack属性为True),但不允许您阻止文本更改

<script language="javascript" type="text/javascript">
    function OnClientTextChange(sender, eventArgs) {
        eventArgs.set_cancel(true);
    }
</script>

<telerik:RadComboBox onclienttextchange="OnClientTextChange"....

函数OnClientTextChange(发送方、事件参数){
eventArgs.set\u cancel(true);
}