Hi sir,
I have used a rad combobox for listing states, I have set data source and AllowCustomText="true". When focus on the combobox then listed all items, I wants the items are listed only after enter a text in the rad combobox (drop down disabled on focus) . eg:- if user enter ‘a’ then first letter of the sate will appear in the list.
4 Answers, 1 is accepted
0
Hi Vipin,
Could you please provide the implementation of your RadComboBox so I could have a better view of the exact scenario that you are trying to implement.
Kind regards,
Dimitar Terziev
the Telerik team
Could you please provide the implementation of your RadComboBox so I could have a better view of the exact scenario that you are trying to implement.
Kind regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0

Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 02 Feb 2012, 12:25 PM
I have the same issue: Is it possible to let the ComboBox act like a Textbox so that:
- No dropdown on focus;
- Dropdown after some characters are putted in the box;
- hide the dropdown arrow.
BR,
Marc
0

Princy
Top achievements
Rank 2
answered on 02 Feb 2012, 01:50 PM
Hello,
Try setting ShowToggleImage property of RadComboBox as false to hide the dropdown arrow.
Also try the following javascript to achieve the scenario.
JS:
Thanks,
Princy.
Try setting ShowToggleImage property of RadComboBox as false to hide the dropdown arrow.
Also try the following javascript to achieve the scenario.
JS:
function
OnClientDropDownOpening(sender, args)
{
if
(sender.get_text() ==
""
)
{
args.set_cancel(
true
);
//hide dropdown on focus
}
}
function
OnClientKeyPressing(sender, args)
{
sender.showDropDown();
//show dropdown after entering some characters
}
Thanks,
Princy.
0

Fit2Page
Top achievements
Rank 2
Iron
Iron
Iron
answered on 02 Feb 2012, 02:02 PM
Thanks Princy, works OK!