Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > MultiColumn ComboBox > Changing text on SelectedIndexChanged

Not answered Changing text on SelectedIndexChanged

Feed from this thread
  • Nhan Rao avatar

    Posted on Nov 23, 2009 (permalink)

    I have a multi-column combo box with 2 columns using the drop down list style.  When the user selects something new, I want to combine the text from both columns and display it in the text area.   Is this possible?  Even if I set the Text property of the combo box to something new, it still just shows the text from the first column.  It does seem to work when initializing the control but not when the selected index is changed.

    Reply

  • Deyan Deyan admin's avatar

    Posted on Nov 24, 2009 (permalink)

    Hi Nhan,

    Thanks for writing and for your question.

    I have researched the case and it seems that there is an issue in RadMultiColumnComboBox that can prevent you to manually set the text of the control in the SelectedIndexChanged event.

    I would like to inform you that we managed to provide a fix for this issue which will be available in the upcoming Q3 2009 SP1 release which is scheduled for the end of this month.

    You can check our website on a regular basis or subscribe to our blogs for further information.

    Thanks for your time.

    Regards,
    Deyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • PDMI avatar

    Posted on Sep 20, 2011 (permalink)

    I am having the same problem this post describes.  We are using telerik version 2010Q3.  The post is dated in 2009 and alludes to a solution in the next release, namely 2009 Q3 SP1.  Can you give me an example of the work around mentioned in this post?  Thank you for your time.

    Reply

  • Jack Jack admin's avatar

    Posted on Sep 23, 2011 (permalink)

    Hello David,

    Thank you for writing.

    You cannot change the Text property of RadMultiColumnComboBox when handling the SelectedIndexChanged event because it is synchronized internally with the text of the currently selected row. However, you can change this text by handling the TextChanged event directly. Please, consider the code snippet below:

    void HostedControl_TextChanged(object sender, EventArgs e)
    {
        radMultiColumnComboBox1.MultiColumnComboBoxElement.TextBoxElement.TextBoxItem.HostedControl.Text = "my text";
    }

    I hope this helps. Should you have any other questions, do not hesitate to contact us.
     
    All the best,
    Jack
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > MultiColumn ComboBox > Changing text on SelectedIndexChanged
Related resources for "Changing text on SelectedIndexChanged"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]