Completed
Last Updated: 16 Dec 2021 16:05 by ADMIN
Release R1 2022

<telerik:RadComboBox runat="server" ID="CB" AllowCustomText="true" HighlightTemplatedItems="true" EnableViewState="false" CheckBoxes="true" EnableLoadOnDemand="true" OnItemsRequested="CB_ItemsRequested" ></telerik:RadComboBox>

Specifically, note that CheckBoxes is true.

In some cases, the combo box's  item's text may have HTML tags in them, but we don't want that HTML to be interpreted, and we're happy that RadComboBox automatically encodes the Item's name.  For example, the Item's text might be <img src=xxx onerror=alert(0)> , and of course we don't want that javascript to run. 

However, we have found a case where the text is not properly escaped, in which case the javascript does run and the alert popup shows.  The error is in RadComboBox.CheckBoxes.js, in the _checkedItemsTextsFitInputWidth function.  That function is passed the comma separated string of all the selected item's text.  This function wants to measure the width of the string, and so it creates a div off-screen, and then pushes the checkedItemTexts string into the div.  If the checkedItemTexts string contains any HTML tags that contain javascript, then that javascript is executed, which can be a XSS attack.

Unplanned
Last Updated: 20 Dec 2018 17:16 by ADMIN
url to test with JAWS - https://demos.telerik.com/aspnet-ajax/combobox/examples/wai-aria-support/defaultcs.aspx

When I use JAWS to read the combobox present on this demo it reads as follows - ComboBox readonly - Alice Mutton. To change the selection press the arrow keys.

Over here, why JAWS is reading "readonly". It's not readonly. It's making our screenreader blind users confusing.

I drilled down more into the problem and found that, the input element below has the aria-readonly=true set though the combobox is not readonly.
Here is the html generated for above combobox from telerik demo site -

<input name="ctl00$ContentPlaceholder1$RadComboBox2" class="rcbInput radPreventDecorate" id="ctl00_ContentPlaceholder1_RadComboBox2_Input" role="combobox" aria-busy="false" aria-disabled="false" aria-expanded="false" aria-haspopup="true" aria-readonly="true" aria-owns="ctl00_ContentPlaceholder1_RadComboBox2_listbox" aria-autocomplete="none" type="text" readonly="readonly" value="Alice Mutton" autocomplete="off">

I understand that this input control should be readonly so that aria users should not type and go haywire. But looks like to maintain the readonly=readonly property, telerik is generating aria-readonly=true for this _Input control and resulting this issue.

When you change this attribute aria-readonly="true" to aria-readonly="false", JAWS read it correctly as follows - ComboBox - Alice Mutton. To change the selection press the arrow keys.
Unplanned
Last Updated: 04 Mar 2018 19:05 by Jon Morris
If the same text is typed into the input field as the one set for EmptyMessage and page is submitted, validator evaluates True.

Current workaround is to subscribe the RadComboBox to OnClientFocus client event handler, and clear the EmptyMessage manually, thus preventing the EmptyMessage text to be sent to server.

<telerik:RadComboBox ... OnClientFocus="comboFocus">

<script type="text/javascript">
	function comboFocus(sender, args) {
		sender.set_emptyMessage("");
	}
</script>
Unplanned
Last Updated: 14 Jun 2021 08:03 by ADMIN
Created by: Robert
Comments: 0
Category: ComboBox
Type: Feature Request
4
Hello,

Here is how i bind the dropdown.

when i trype anything in dropdown it only search based on product code, but i also want search to perform on product code, Product name and wood type code.

Please let me know how can i achieve same.

<telerik:RadComboBoxDataSourceID="SqlDataSource1"DataTextField="ProductCode"DataValueField="idxProductPriceID"EnableAutomaticLoadOnDemand="True"ItemsPerRequest="10"ShowMoreResultsBox="true"EnableVirtualScrolling="true"AutoPostBack="true"OnSelectedIndexChanged="drpProduct_SelectedIndexChanged"EnableLoadOnDemand="true"EnableScreenBoundaryDetection="true"HighlightTemplatedItems="true"MarkFirstMatch="false"Filter="Contains"ID="drpProduct"DropDownAutoWidth="Enabled"Width="100px"runat="server"><HeaderTemplate><tablestyle="width: 100%"cellspacing="0"cellpadding="0"><tr><tdstyle="width: 20%;">Product Code
                                                        </td><tdstyle="width: 40%;">Product Name
                                                        </td><tdstyle="width: 40%;">Wood Type Code
                                                        </td></tr></table></HeaderTemplate><ItemTemplate><tablestyle="width: 100%"cellspacing="0"cellpadding="0"><tr><tdstyle="width: 20%;"><%#DataBinder.Eval(Container.DataItem, "ProductCode")%></td><tdstyle="width: 40%;"><%#DataBinder.Eval(Container.DataItem, "ProductName")%></td><tdstyle="width: 40%;"><%#DataBinder.Eval(Container.DataItem, "WoodTypeName")%></td></tr></table></ItemTemplate></telerik:RadComboBox><asp:SqlDataSourcerunat="server"ID="SqlDataSource1"ConnectionString="<%$ ConnectionStrings:Default %>"ProviderName="System.Data.SqlClient"SelectCommandType="StoredProcedure"SelectCommand="3_ProductList_Select"></asp:SqlDataSource>
Unplanned
Last Updated: 28 Jul 2017 13:39 by ADMIN
The ComboBox pop-up is moving over the page during scrolling in mobile Chrome (Android device). The problem is occurres both in scrolled or zoomed elements.

*The same issue is reproducible also in the SkinChooser.

Steps to reproduce:
1. Run the following code in in mobile Chrome:
        <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" PersistenceMode="ViewState" RenderMode="Auto" Skin="Telerik">
        </telerik:RadSkinManager><br /><br />
        <telerik:RadComboBox ID="cb1" runat="server" AutoPostBack="true">
            <Items>
                <telerik:RadComboBoxItem Text="January" Value="1" />
                <telerik:RadComboBoxItem Text="February" Value="2" />
                <telerik:RadComboBoxItem Text="March" Value="3" />
                <telerik:RadComboBoxItem Text="April" Value="4" />
                <telerik:RadComboBoxItem Text="May" Value="5" />
                <telerik:RadComboBoxItem Text="June" Value="6" />
                <telerik:RadComboBoxItem Text="July" Value="7" />
            </Items>
        </telerik:RadComboBox>

2. Tap over the combo in order to show its dropdown

3. Drag to scroll the page to the left


Result: The dropdown pop-up is moving over the page.
Unplanned
Last Updated: 08 Jan 2021 09:43 by ADMIN
Created by: Stephen
Comments: 1
Category: ComboBox
Type: Bug Report
0
Given a RadComboBox with search, if the user enters some search text and then clicks on one of the filtered entries in the dropdown list the validation event is fired as the entry box loses focus and results in a 'false' return from validation as it uses the 'Text' property which is the search string. Validation is then refired as a result of clicking on the entry.
However, the initial 'false' return can cause unwanted behaviour in code that depends on the validation event.
I can supply a sample project demonstrating the problem, but it needs more than the 10 MB upload limit.
Planned
Last Updated: 14 Jan 2022 11:04 by ADMIN
Scheduled for R1 2022 SP1
"Loading..." text in Combobox with Virtual Scrolling is visible on first set of items loading.
It shows first time "Loading..." text. on scrolling it loads items from PageMethods/WebService but "Loading..." text it not visible i.e. because it is first <LI> item so it is not visible.

Instead of first <LI> item, it  should be at position where it always display while loading more items.

same issue is also in telerik demo website : http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx
Won't Fix
Last Updated: 27 May 2021 08:34 by ADMIN
This error comes up often for this control and workarounds have been discussed and posted.  See below

http://www.telerik.com/forums/radcombobox-error-selection-out-of-range-parameter-name-value 
http://www.telerik.com/forums/selection-out-of-range-excpetion 
http://www.telerik.com/forums/selection-out-of-range-parameter-name-error-need-to-be-able-to-set-values-that-don-t-exist-in-the-combobox 
http://www.telerik.com/forums/selection-out-of-range-parameter-name-value 
http://www.telerik.com/forums/selection-out-of-range-parameter-name-value-radcombobox-in-radgrid
http://www.telerik.com/forums/radcombobox-selection-out-of-range-error 
 

The feature request is the following:

1.  Add an Attribute to the RadComboBox, RadDropdownList (and any other controls that suffer from this issue).

2. Let's call the Attribute   --   AppendIfSelectedValueMissing.

3. This attribute would be a boolean (True / False).  Default is FALSE.

4. If AppendIfSelectedValueMissing=True  then when the value of record is being Databound to a RadComboBox, RadDropDownList, etc.  A check (or Try/Catch) would occur to ensure that the Value exists in the DataSourceList and if it does NOT exist in the list then the SelectedValue would be Appended to the List.  Thus, eliminating the "Selection out of range, Parameter, Value" error.

This occur often because some lists get changed over time; however, the historical data may have a value that is no longer on the list -- thus triggering the error.

For example, let's say we ask for a user's Favorite Color.  Our original list was:
Red, Green, Blue

but for some reason -- management, changing user requirements, etc. the new list is

Red, Orange, Blue

Now, if we DataBind a RadComboBox to a historical record with Green as value, we get the "Selection Out of Range" errror.

What I am proposing is -- if we set the AppendIfSelectedValueMissing = True then 
databinding to a historical record with Green would have the following occur.

List from DB ---   Red, Orange, Blue
SelectedValue --    Green
AppendIfSelectedValueMissing
New List for Ctrl --  Red, Orange, Blue, Green

Thus, the error goes away, the historical data can stay the way it is and the lists can adjust their choices over time.

All good for everyone!!!

Thanks for your consideration. 
Completed
Last Updated: 25 Apr 2017 15:24 by ADMIN
ADMIN
Created by: Peter Milchev
Comments: 0
Category: ComboBox
Type: Bug Report
0

			
Completed
Last Updated: 03 Aug 2017 14:40 by Bibin
Completed
Last Updated: 01 Nov 2019 13:48 by ADMIN
To maintain accessibility consistency with normal HTML select comboboxes, we need the RadComboBox to support the Home and End keys to jump to the 1st and last item respectively.  Currently, it just moves the text cursor to the start/end of the textfield.

If the change can't be made globally, can a new property be set to control this behavior?
Ideally too, Page Up/Down can jump multiple items at a time.  Currently, it scrolls the page.

See a 2009 forum post too (from someone else):
http://www.telerik.com/forums/radcombobox-home-end-page-up-page-down-keys
I see the other keyboard shortcuts listed here:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/keyboardsupport/defaultcs.aspx

Per Anton: The keyboard support is specification is implemented according to the article (https://www.w3.org/TR/2013/WD-wai-aria-practices-20130307/#combobox) which is why there is no support for these keys.

We would like to request these additional keys be supported anyway.

[From ticket 1083598]
Completed
Last Updated: 24 Jun 2022 12:56 by ADMIN
Declined
Last Updated: 26 Aug 2022 11:21 by ADMIN
ADMIN
Created by: Peter Milchev
Comments: 0
Category: ComboBox
Type: Bug Report
0

			
Won't Fix
Last Updated: 26 Apr 2017 10:38 by ADMIN
Unplanned
Last Updated: 10 Oct 2017 16:25 by ADMIN
ADMIN
Created by: Peter Milchev
Comments: 0
Category: ComboBox
Type: Bug Report
3
A possible workaround would be tweaking the ItemRequestTimeout property of the ComboBox

<telerik:RadComboBox ItemRequestTimeout="380" runat="server" ... >
        ...
 </telerik:RadComboBox>
Declined
Last Updated: 22 Jun 2022 11:03 by ADMIN
ADMIN
Created by: Peter Milchev
Comments: 1
Category: ComboBox
Type: Bug Report
0

			
Declined
Last Updated: 27 May 2021 18:33 by ADMIN
FYI: this is basically an edit of a previous post.  Original didn't allow edits.

Please add a Server Side event for OnBlur or OnClose for the RadComboBox with the option for an auto postback.

The Telerik support team suggested using the "TextChanged" event.

However, this does not work for my purpose and here is why:

Mainly because it appears that an event fires immediately after each check/uncheck.

I have been using a dropdowncheckbox control by another vendor in multiple projects over the past 3 years (many, many instances).  It fires an event when you click anywhere out side the dropdown or when you collapse the dropdown (close).  This is perfect because many of these dropdowns supply parameters to SSRS reports that are generated on the webpage and I can iterate through the object and process all of the items that are checked at the same time, pass all parameters to the various reports.

Users of these website have requested that after selecting (checking) which values they want to choose, they want the reports to run automatically and don't want to click a "Run reports" button. I am doing this currently with the other control.

*** How could I possibly determine when the user is done checking/unchecking items using the "TextChanged" event?  

With an OnBlur or OnClose event it's a No-Brainer.  Event --> Do Processing...

Our company made a decision to standardize our tool set and picked Telerik as that toolset vendor.  The lack of having an event that fires similar to the control that I have been using in the past will require unnecessary code modification.

In summary, if there was a similar event I could simply rename each instance of my C# event handlers (methods) across all projects, then modify that code to iterate through the RadComboBox instead of the control I currently use and be done.  Find --> Replace, mostly. 

For the one (1) instance of the RadComboBox that I have tried I was able to create a work-around by placing code in the IsPostback of the Page_Load event and iterate through the radcombobox, getting the checked values and then doing whatever processing  needs to be done.  This not work for most of the pages in my projects mentioned above due to different circumstances.

Thanks!
Duplicated
Last Updated: 27 May 2021 10:55 by ADMIN
Created by: Wendell
Comments: 0
Category: ComboBox
Type: Feature Request
0
Please add a Server Side event for OnBlur or OnClose for the RadComboBox.

The Telerik support team using the "TextChanged" event.

However, this does not work for my purpose and here is why:

Mainly because it appears that an event fires immediately after each check/uncheck.

I have been using a dropdowncheckbox control by another vendor in multiple projects over the past 3 years (many, many instances) which fires when you click anywhere out side the dropdown.  This is perfect because many of these dropdowns supply parameters to SSRS reports that open on the webpage and users of these webpages have requested that after selecting (checking) which values they want, they want the reports to run automatically and don't want to click a "Run reports" button. 

*** How could I possibly determine when the user is done checking/unchecking items using the "TextChanged" event?  

With an OnBlur or OnClose event it's a No-Brainer.  Event --> Do Processing...

Our company made a decision to standardize our tool set and picked Telerik as that toolset vendor.  The lack of having an event that fires similar to the control that I have been using in the past will require unnecessary code modification.

In summary, if there was a similar event I could simply rename each instance of the C# event handlers (methods)  across all projects and be done.  Find --> Replace. 

For the one (1) instance of the RadComboBox that I have tried I was able to create a work-around by placing code in the IsPostback of Page_Load and iterate through the combobox, getting the checked values and then whatever processing  needs to be done.  This will not work but for very few of the pages in the projects mentioned above.

Thanks!
Declined
Last Updated: 27 May 2021 18:36 by ADMIN
The input box (TextBox) portion of the Rad Combo box could benefit from the ability to customize/format the data presented within said element.  Having the ability to toggle it to a multi-line TextBox would aid in this ability as well.  Having the ability to implement custom html in the form of a template, perhaps a SelectionBoxTemplate, would open the control of the display to be completely customizable.

Please consider this enhancement in a future release.

Thanks...