Unplanned
Last Updated: 04 Mar 2020 12:47 by ADMIN

When items with different values have the same text, a postback is not triggered when selecting another item with the same text as the current selection. The workaround is to place the following script under the ScriptManager:

Telerik.Web.UI.RadMultiColumnComboBox.prototype._shouldPostbackOnChange = function myfunction() {
    return true;
}

Reproduction code:

<telerik:RadMultiColumnComboBox ID="RadMultiColumnComboBox1" DataKeyNames="Additional" runat="server" DropDownWidth="Auto" AutoPostBack="true" >
    <ClientEvents OnSelect="OnSelect" />
    <ColumnsCollection>
        <%--<telerik:MultiColumnComboBoxColumn Field="ID"></telerik:MultiColumnComboBoxColumn>--%>
        <telerik:MultiColumnComboBoxColumn Field="Name"></telerik:MultiColumnComboBoxColumn>
        <telerik:MultiColumnComboBoxColumn Field="Additional"></telerik:MultiColumnComboBoxColumn>
    </ColumnsCollection>
</telerik:RadMultiColumnComboBox>
<script>
    function OnSelect(sender, args) {
        //alert("selection changed");
    }
    // Workaround
    Telerik.Web.UI.RadMultiColumnComboBox.prototype._shouldPostbackOnChange = function myfunction() {
        return true;
    }
</script>

public class MyClass
{
    public int ID { get; set; }
    public string Name { get; set; }
    public string Additional { get; set; }
}
protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        RadMultiColumnComboBox1.DataSource = Enumerable.Range(1, 20).Select(x => new MyClass()
        {
            ID = x,
            Name = "Same Item text" ,
            Additional = "DataKey#" + x
        });
        RadMultiColumnComboBox1.DataTextField = "Name";
        RadMultiColumnComboBox1.DataValueField = "ID";
        RadMultiColumnComboBox1.DataBind();
    }
}

 

 

Unplanned
Last Updated: 28 Nov 2019 12:33 by ADMIN
Created by: Jochen
Comments: 0
Category: MultiColumnComboBox
Type: Feature Request
1

Currently, the only example for setting up virtualization is with .svc service.

Unplanned
Last Updated: 23 Dec 2019 09:38 by ADMIN

Currently, the RadMultiColumnComboBox has smaller height than the AutoCompleteBox or the RadComboBox for example. 

A possible workaround can be using the following styles: 

<style>
    .RadMultiColumnComboBox .k-dropdown-wrap {
        padding: 4px 12px;
    }

    .RadMultiColumnComboBox .k-select {
        width: 1.42857143em;
        height: 1.42857143em;
        position: absolute;
        box-sizing: content-box;
        top: 0;
        bottom: 0;
        right: 0;
        left: auto;
        padding: 6px;
    }
</style>

Unplanned
Last Updated: 30 Apr 2019 19:27 by ADMIN
Currently, to make the MultiColumnComboBox control work in an EditTemplate of a Grid in Batch EditMode, custom implementation is needed as explained in Batch Editing Working With Templates and demonstrated here: Show short date, edit full date with batch editing
Unplanned
Last Updated: 03 Jan 2020 15:15 by ADMIN
Created by: Daniel
Comments: 1
Category: MultiColumnComboBox
Type: Feature Request
0
What is the best approach to AutoSize the contents of the columns in a RadMultiColumnComboBox?  Is there a method or property I can use?