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

get_text()

2 Answers 61 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Olga
Top achievements
Rank 1
Olga asked on 28 Jan 2011, 12:41 AM
Hi,

I am trying to upgrade an existing application from various very old versions of Telerik controls to the latest.  I have the following Javascript function that gives me the "Object doesn't support this property or method".

var combo = <%= RadComboBox1.ClientID %>;
    var userControlId = '<%= ID %>';
    var selectionSetUrl = "../SelectionSets/NetworkSet.aspx";
    var selectionSetType = '<%= Fox.Fbc.Rds.RdsWeb.Interfaces.SelectionSetTypeCode.NET.ToString() %>';
      
    EditSelectionSetInModalDialogHelper(selectionSetUrl, selectionSetType, userControlId, combo.GetText());

According to the documentation GetText is supposed to be replaced with get_text.  So, I replace the last line with this one:

EditSelectionSetInModalDialogHelper(selectionSetUrl, selectionSetType, userControlId, combo.get_text());

And still get the same error. 

Please help.

Thanks,
Olga

2 Answers, 1 is accepted

Sort by
0
Olga
Top achievements
Rank 1
answered on 28 Jan 2011, 02:36 AM
Never mind.  Found my answer.

Olga
0
Kalina
Telerik team
answered on 28 Jan 2011, 08:10 AM
Hi Olga,


Glad that you managed to find a solution on your own.
Feel free to contact us if you need further assistance.

Regards,
Kalina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
ComboBox
Asked by
Olga
Top achievements
Rank 1
Answers by
Olga
Top achievements
Rank 1
Kalina
Telerik team
Share this question
or