This is a migrated thread and some comments may be shown as answers.

Released too early

3 Answers 63 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
SSirica asked on 06 Mar 2020, 03:33 PM

I liken this control to serving a quiche with a runny middle. 

It has tons of potential, but falls short of the RadComboBox.  I know I'm way over simplifying, but seems like all that had to be done was to add the ColumnsCollection as an alternative to the RadComboBox control.  Didn't even need a new control, shrouded in kendo hocus pocus.  It took me 4 hours of research to cobble together this as a way to just get the text value of a RadMultiColumnComboBox

sState = $find("cbStateL").get_kendoWidget().input["0"].value;

 

when this is all that should have been needed:

 sState = $find("cbStateL").text;

 

 
I want to embrace this control, but I feel like I'm a rat stuck in an elaborate labyrinth.  

3 Answers, 1 is accepted

Sort by
0
Accepted
Peter Milchev
Telerik team
answered on 06 Mar 2020, 04:55 PM

Hello,

The MultiColumnComboBox has the same .get_text() method as most of the Telerik controls such as the RadComboBox:

For such a cases, I can recommend checking the Get IntelliSense for the Client-Side Object section and using the Google Chorme's DevTools, you can get an easy intellisense when you hit a debugger and have a reference to the MultiColumnComboBox client-side object:

Regards,
Peter Milchev
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
0
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
answered on 06 Mar 2020, 05:18 PM

For the record that linkand Chrome's DevTools is how I came up with the KendoWidget method I posted.   Yesterday the $find kept coming up undefined.  Today it works.  <shrug>

My bad.  I must have had something off the 1st time I tried that.  Works now..I swear it didn't work then.  Maybe I was drinking that day.  Thank you for the quick response and for setting me straight.  

0
Peter Milchev
Telerik team
answered on 06 Mar 2020, 05:23 PM

Hi,

Generally, the $find() needs the ClientID of the control, not the server one. That is why it is good to use the approach below for example, as when the control is inside a NamingContainer, the ClientID and Server ID are different:

Regards,
Peter Milchev
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
Tags
MultiColumnComboBox
Asked by
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Peter Milchev
Telerik team
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or