I''m anot able to get the second RadCombobox values on server side when it is loaded through on item request of first Radcombobox.
i can able to see data in second RadCombobox,but on button click,i can able to get the selected item from first RadCombobox and second RadCombobox is coming as null.
Can you let me know,what i am missing in the functionality
i can able to see data in second RadCombobox,but on button click,i can able to get the selected item from first RadCombobox and second RadCombobox is coming as null.
Can you let me know,what i am missing in the functionality
4 Answers, 1 is accepted
0

Serrin
Top achievements
Rank 1
answered on 24 Oct 2008, 08:25 PM
Hey Keerthi,
Just curious, are you doing these operations client-side or server-side?
Just curious, are you doing these operations client-side or server-side?
0

keerthi
Top achievements
Rank 1
answered on 24 Oct 2008, 08:28 PM
0

keerthi
Top achievements
Rank 1
answered on 24 Oct 2008, 08:28 PM
0
Hello ,
RadComboBoxItems are not persisted on the server if they are loaded on demand. I suggest you use the SelectedValue and Text properties of the controls instead of the SelectedItem property.
For example:
For more details you can read our help article.
Kind regards,
Rosi
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
RadComboBoxItems are not persisted on the server if they are loaded on demand. I suggest you use the SelectedValue and Text properties of the controls instead of the SelectedItem property.
For example:
protected void btnsubmit_Click(object sender, EventArgs e){ |
string r1 = RadComboBox1.SelectedValue; |
string r2 = RadComboBox2.SelectedValue; |
// getting null for r2 |
} |
For more details you can read our help article.
Kind regards,
Rosi
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.