Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
11 views

After update to 2021.2.511 the font in all windows of the editor are serif instead of Segoe.

Please refer to attached screenshots.

Any idea why this could be happening?

 

Thanks,

Marc

Fit2Page
Top achievements
Rank 1
Iron
 answered on 31 May 2021
3 answers
10 views

I have this code that only allows the user to type a single word. Therefore the blank space (32) is taken as the end of the word.

I can GET the typed text and trim it this way:

var typed = $find('<%= RadAutoCompleteBox1.ClientID %>').get_inputElement().value.trim();

So if the client type "mytext   " it will be converted to "mytext"

Now I need to know how to replace what user typed back with the trimmed text.

Thanks in advance!

Yan Moura
Top achievements
Rank 1
Iron
 answered on 29 May 2021
1 answer
6 views

Hello,

I'd like to know how to clear items and force close dropdown in AutoCompleteBox from client side (Javascript)...

Thanks!

Yan Moura
Top achievements
Rank 1
Iron
 answered on 29 May 2021
1 answer
8 views

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

Yan Moura
Top achievements
Rank 1
Iron
 answered on 29 May 2021
1 answer
11 views

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.

dds
Top achievements
Rank 1
Iron
Iron
 answered on 27 May 2021
0 answers
7 views

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. :(

Yan Moura
Top achievements
Rank 1
Iron
 updated question on 27 May 2021
1 answer
11 views

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 

 

Peter Milchev
Telerik team
 answered on 27 May 2021
2 answers
41 views
What is the maximum date that can be set for the maxdate property in the radDatePicker control
Dylan
Top achievements
Rank 1
Iron
 answered on 27 May 2021
38 answers
487 views
Hi,
How i can paste image  from clipboard in radEditor. I have taken a snapshot from a Pdf file and i want to paste it in rad editor.

Thanks
Rumen
Telerik team
 updated answer on 27 May 2021
1 answer
22 views

Hello,

  • On a RadCombobox with multiple columns when I click on the checkbox all the columns are transferred to the text area, I just want to transfer the firstcolumn value. In the attached image  "Jim city title" are transferred I just want "Jim" 
  • Can the list be automatically filtered as you type on the text area?

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.

Peter Milchev
Telerik team
 answered on 27 May 2021