Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
153 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
Veteran
Iron
 answered on 29 May 2021
1 answer
276 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
Veteran
Iron
 answered on 29 May 2021
1 answer
103 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
149 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
Veteran
Iron
 updated question on 27 May 2021
1 answer
173 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
920 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
1.4K+ 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
945 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
1 answer
186 views

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" 
AllowFiltering="false" ShowFilterIcon="false" ItemStyle-Width="25%"  GroupByExpression="PoNumber Group By PoNumber">
<HeaderStyle Width="25%" HorizontalAlign="Center" />
<ItemTemplate>
<Telerik:RadLabel ID="lblPoNumber" Runat="server" Text='<%# DataBinder.Eval ( Container.DataItem, "PoNumber" ) %>'>

</Telerik:RadLabel>
</ItemTemplate>
</Telerik:GridTemplateColumn>

Doncho
Telerik team
 answered on 27 May 2021
1 answer
183 views

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:

Doncho
Telerik team
 answered on 27 May 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?