我试图让RadComboBox选择结果集中的第一个项目,但是无法这样做。 我问过Telerik的人,他们也无法让它工作。 我有一个可供下载的演示项目:
https://rcpt.yousendit.com/1110087085/647dc0d8e5ed4f6763d1ab5e270f8c6b
如果我在输入字段中输入“购买”,我希望突出显示“可购买性”,因为它是结果集中的第一个项目。 我想要发生的下一件事是按[enter]键以便进行回发。 由于应选择“可购买性”,因此RadComboBox1.SelectedValue应为405,在回发后显示在标签中。 请注意,这些操作都不涉及使用鼠标选择结果集中的项目。
I'm trying to get a RadComboBox to select the first item in a result set but have not been able to do so. I have asked the Telerik folks and they can't get it to work either. I have a demo project available for download here:
https://rcpt.yousendit.com/1110087085/647dc0d8e5ed4f6763d1ab5e270f8c6b
If I type 'purchas' in the input field, I want 'purchasability' to be highlighted since it's the first item in the result set. The next thing I want to have happen is to press the [enter] key in order cause a postback. Since 'purchasability' should be selected, the RadComboBox1.SelectedValue should be 405, which is displayed in a label after the postback. Please note that none of these operations involve using the mouse to select an item in the result set.
最满意答案
我终于得到了Telerik的代码。 我在这里发布了解决方案
I finally got working code from Telerik. I posted a solution here
更多推荐
发布评论