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

Related Combos Selected Value

3 Answers 34 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Cush
Top achievements
Rank 1
Cush asked on 24 Jun 2011, 02:32 PM
Hi All

I have three related combo boxes,
The second one of the three is load on demand where the user can type in custom text to search for records,
They all work fine on Initial load client side,
However when the user edits the second box and types in their desired value (the first box has loaded and has a value) it fails because it is always getting the value 0 from the first box?
The first box is not load on demand.
I am trying to obtain the value of the first box server side in the items requested event of the second.

something = RadComboBox.SelectedValue

I have tested my theory by replacing the selected value of the first combo with a static value in the code behind and everything works fine.
All three boxes are in the edit form of a rad grid.

Any advice would be most appriciated

Best Regards

Cush

3 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 30 Jun 2011, 01:04 PM
Hi Cush,

Try to set the MarkFirstMatch property of the first RadComboBox to true, so that the item that is loaded in the first RadComboBox can be selected and not null as it is in your case. If it does not help we will need a simple runnable project with the reproduced issue so we can see how you bind the controls and inspect what is causing the problem.  

Regards,
Kate
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.

0
Cush
Top achievements
Rank 1
answered on 01 Jul 2011, 08:57 AM
Hi Kate

Thanks for getting back to me.
I have tried you suggested solution, however it does not solve my problem!
It is still showing the selected value as zero, I will try to put together a runnable example as soon as i can but i am a bit pressed for time at present.

Many Thanks

Best Regards

Cush
0
Kate
Telerik team
answered on 04 Jul 2011, 08:55 AM
Hi Cush,

Please take your time for setting up the project. I would suggest that you open a support ticket and send it there, since you can attach the zip file in it. We will be glad to help you when you are ready with it the project. 

Kind regards,
Kate
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
Cush
Top achievements
Rank 1
Answers by
Kate
Telerik team
Cush
Top achievements
Rank 1
Share this question
or