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

[Solved] Accessing RadCombo Selected Value on Server Side

1 Answer 346 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Srinivas Dhulipala
Top achievements
Rank 1
Srinivas Dhulipala asked on 01 Oct 2009, 06:55 PM
Hi,
This is my situation:
I have Cascading RadComboboxes. For Ex: RadA, RadB, RadC. Initially RadC is invisible.
On Change of RadA, RadB should populate and for a certain selected value of RadA, RadC should become visible. 
I used OnClientSelectedIndexChanging Event on RadA. In that Method, I checked some conditions and called

RadB.requestItems(item.get_value(),

false); . This will inturn call the Items Requested Event on the server side.
In this Method on the server side, if I use RadA.SelectedValue or RadA.SelectedItem.Text, i am getting the Initial Value or Blank, but not the selection made.
In this Event, if I say RadC.Visible = true, after the completion of this event, the page does not show up the Rad C Combo box.
I hope you understood the Scenario.
I hope you will help me in resolving the Issue.
Thanks
Srinivas

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Oct 2009, 12:47 PM
Hi Srinivas,

Try e.Text instead of RadA.SelectedValue in ItemsRequested event to get the selected value which is passed from client-side. Have you tried setting the Visibility property of third RadComboBox in SelectedIndexChanged event of fist, based on condition?

-Shinu.
Tags
ComboBox
Asked by
Srinivas Dhulipala
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or