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

RadCombo set_Text function not supported in Version RadCombo set_Text function not supported in Version 2011.1.413.40

1 Answer 61 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Rakesh
Top achievements
Rank 1
Rakesh asked on 07 Sep 2011, 02:00 PM
I am using the telerik version  2011.1.413.40 .Iam trying to set the text of radcombobox through c# function.But this code is not supported on this version.On low version

Version=2009.3.1208.35

 it is working.


My code is

 if (control is RadNumericTextBox)
                    ((RadInputControl)control).set_Text(string.Empty);

what is the keyword to set and get text of radcombobox in this version of telerik.also what is the keyword for .set_SelectedDate for raddatepicker

1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 12 Sep 2011, 06:52 PM
Hello Rakesh,

Setting the text of the RadComboBox from code behind is done using its Text property.
Ex:
RadComboBox1.Text = "Some Value";

If you want to get the RadComboBox's Text you just need to do the following:
Ex:
string text = RadComboBox1.Text;

Hope this helps.

All the best,
Ivana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Rakesh
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Share this question
or