Pending Review
Last Updated: 21 Jun 2016 14:52 by Alexandre
Using the client-side requestItems method of a RadComboBox to fire the refresh of it's items(with a call to clearCache before to ensure that the refresh is performed), doesn't always perform the async callback request, sometimes resulting in the "Loading" text being added at the top of the combo's items drop-down and staying there (as the callback to the server is never fired, so it's result never received). 

After quite a bit of trials, I finally managed to figure out that the issue arise when there is an async postback in progress on the page (to refresh an update panel) when requestItems is called.

Stepping through the requestItems call with IE F12 tools, I found that this is due to the fact that the Sys.WebForms.PageRequestManager do not perform callbacks if there is an async postback in progress. I think that the RadComboBox should detect that situation and wait until the end of the async postback to fire it's requestItems callback, otherwise the combo get stuck in the "loading in progress" state, waiting for the end of the callback that will never happens as the PageRequestManager did not start it. Additionally, in F12 Network tab, I can see that there is no request performed for the callback to request the items of the combo-box.

I reproduce the issue with the following steps:
1- Have a page with a RadComboBox, a ScriptManager with partial rendering enabled and an UpdatePanel.
2- In the browser, trigger the async postback to refresh the UpdatePanel
3- From JavaScript, while the async postback is in progress, call the requestItems method of the RadComboBox
4- Open the drop-down of the combo, and you can see the "Loading" text at the top, with the initial list of items. And it stays like this until another call is made to requestItems when there is no async post-back in progress which will actually perform the callback.
Pending Review
Last Updated: 08 Mar 2017 20:33 by Dennis
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. 
Pending Review
Last Updated: 30 May 2017 07:01 by Satish
"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
Pending Review
Last Updated: 23 Jul 2015 14:20 by Ray
Created by: Ray
Comments: 0
Category: ComboBox
Type: Feature Request
1
MarkFirstMatch and Filter functionalities are not supported when checkboxes are enabled, as specified in the Checkbox Support help article. If you remove these two functionalities, the Check All checkbox works as expected.


I want to have on the MarkFirstMatch and the filter on and the "all" to be shown.

see ticket number 942452
Pending Review
Last Updated: 06 Nov 2015 13:42 by Giuseppe
Created by: Giuseppe
Comments: 0
Category: ComboBox
Type: Feature Request
0
the dorpdown area doesn't support html encoded data.
Pending Review
Last Updated: 12 Jun 2017 08:42 by Stephen
Created by: Stephen
Comments: 0
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.
Pending Review
Last Updated: 23 Jul 2019 06:31 by Patrik Madliak
Created by: Patrik Madliak
Comments: 0
Category: ComboBox
Type: Bug Report
0

In WebService binding scenario, the text of the items is not encoded and HTML code might get executed. 

In Server-side Load on Demand binding this is not observed. 

The following code can be used as a temporary workaround for WebService binding scenario: 

<script type="text/javascript">
    Telerik.Web.UI.RadComboBoxItem.prototype._renderItemContent = function (d) {
        if (this.get_imageUrl()) {
            this._renderImage(d);
        }

        //https://stackoverflow.com/questions/6234773/can-i-escape-html-special-chars-in-javascript
        function escapeHtml(unsafe) {
            return unsafe
                    .replace(/&/g, "&amp;")
                    .replace(/</g, "&lt;")
                    .replace(/>/g, "&gt;")
                    .replace(/"/g, "&quot;")
                    .replace(/'/g, "&#039;");
        }

        d[d.length] = escapeHtml(this.get_text());
    }
</script>

Pending Review
Last Updated: 17 Aug 2016 13:34 by Darren
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...
Pending Review
Last Updated: 23 Sep 2016 16:12 by Wendell
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!
Pending Review
Last Updated: 23 Sep 2016 19:05 by Wendell
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!