Databinding RadCheckBoxList

0 Answers 176 Views
CheckBox
Jonathan
Top achievements
Rank 1
Iron
Jonathan asked on 15 Nov 2022, 05:42 PM

I am trying to capture a persons ethnicity with a RadCheckBoxList control. 

I have the RadCheckBoxList inside a RadDataForm.  The RadDataForm is bound to an object data source (retrieves person records), and the RadCheckBosList is also bound to another object data source (retrieves all available ethnicities).

Where I am struggling is when you want to view an existing person record.  How to I get the ethnicity values that were previously selected to "pre-select" the correct item within the RadCheckBoxList?

Doncho
Telerik team
commented on 23 Nov 2022, 07:59 AM

Hi Jonathan,

Could you please share the current version of the page you are working on? The markup of the RadDataForm with the RadCheckBox list inside along with the relevant code-behind logic will give us a better picture of the scenario and we will be able to assist you more accurately.

 

No answers yet. Maybe you can help?

Tags
CheckBox
Asked by
Jonathan
Top achievements
Rank 1
Iron
Share this question
or