Hello,
I'd like to know how to clear items and force close dropdown in AutoCompleteBox from client side (Javascript)...
Thanks!
How to set focus to AutoCompleteBox?
I tried the following but it doesn't work:
var autoComplete = $find("<%= RadAutoCompleteBox1.ClientID %>");
autoComplete.focus();
Error: autoComplete.focus is not a function
Hi there,
I would like to know how to avoid the elements in the groupPanel overlap between them.
Right now I have the name of the column and the arrow button in the same place.
Hi!
I am using AutoCompleteBox and I would like to know how to get the very first value of the dropdown list (client side) with Javascript.
Thanks!
EDIT: I figured how to do this using the event dropDownItemDataBound in case someone else needs it:
var typed = "";
var current = "";
function requesting(sender, eventArgs) {
var acbox = $find('<%= RadAutoCompleteBox1.ClientID %>');
var acboxcontents = acbox.get_inputElement();
typed = acboxcontents.value;
}
function dropDownItemDataBound(sender, args) {
if (current != typed) {
if (typed.substr(typed.length-1, 1) == " ") {
var acbox = $find("<%= RadAutoCompleteBox1.ClientID %>");
var newEntry = acbox.createEntry(args.get_item().get_text(), args.get_item().get_text());
var entries = acbox.get_entries();
entries.add(newEntry);
current = typed;
typed = "";
}
}
}
Right after the client types a blank space (for instances "mysearch ") the code above gets the first value of the dropdown list, converts it into a token, ignores all the rest of the values in the list and clear up the typed string.
Now I just need to know how to set focus back to AutoCompleteBox... Telerik controls are like puzzles and everything is so hard to achieve. :(
Hi there,
I would like to modify the style of the Group Panel border from a grid, when the mouse is over the control but I think there is not an event that I can link for this. Let me know if you have any tip
Hello,
for example in the image below if I start typing Ji the it would just show me the row for Jim
Thank you in advance.
Hi,
How to remove filter icon for a specific column in grid? Approach we followed is set showFilterIcon to false in grid template column tag.
Below is the code and the screenshot. Suggest us the solution.
<Telerik:GridTemplateColumn SortExpression="PoNumber" ItemStyle-HorizontalAlign="Center" Visible="TRUE" HeaderText="PoNumber"Telerik grids are rendering without icons in IE11 of Windows Server 2016. Please provide us the solution asap.
Grid rendering without Icons:
Grid rendering with Icons: