Unplanned
Last Updated: 12 Jun 2023 09:47 by ADMIN
Created by: Russ
Comments: 1
Category: MultiColumnComboBox
Type: Bug Report
0

Code to replicate the issue:

<telerik:RadMultiColumnComboBox ID="RadMultiColumnComboBox1" runat="server">
</telerik:RadMultiColumnComboBox>
<telerik:RadToolTip runat="server" ID="RadToolTip2" Title="Company Short Name" TargetControlID="RadMultiColumnComboBox1" ShowEvent="OnFocus" Width="200px" Position="MiddleRight"> Tooltip Content </telerik:RadToolTip>

Next, focus on the MultiColumnComboBox, but the ToolTip won't show.

Unplanned
Last Updated: 01 Mar 2023 12:04 by Chandu
Created by: Chandu
Comments: 0
Category: MultiColumnComboBox
Type: Bug Report
1
GroupTemplate is not working when RadMultiColumnComboBox is bound to a RadClientDataSource.
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();
    }
}