Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
"server"
OnClientKeyPressing
"OnClientKeyPressing"
OnClientFocus
"OnClientFocus"
>
Items
telerik:RadComboBoxItem
Text
"001"
Selected
"true"
/>
"002"
"003"
</
<script type=
"text/javascript"
var
comboText;
function
OnClientFocus(sender, args)
{
comboText = sender.get_text();
}
OnClientKeyPressing(sender, args)
if
(comboText == sender.get_text())
//No postback
else
(args.get_domEvent().keyCode == 13)
__doPostBack();
</script>