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

CheckBoxList inside a FormTemplate

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rubens
Top achievements
Rank 1
Rubens asked on 02 Jul 2010, 06:24 PM
Hi ALL,

I'm probably missing something obvious, but I can't spot it. I have a structure like:

public class Room 
    public string Name { getset; } 
    public List<Resource> Resources { getset; } 

public class Resource
{
public int Id { get; set; }
public string Name { get; set; }
}

I need to build a RadGrid with edit capabilities for a List<Room>, where that Resources property can be edited as a databound populated CheckBoxList. What event should I use to bind that CheckBoxList to my datasource and define those selected values?

TIA,

Rubens

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 06 Jul 2010, 04:02 PM
Hello Rubens,

This scenario can be implemented by binding the CheckBoxList in the EditForm template of the grid to the Resources property of RadGrid's data items. A sample page demonstrating this behavior is attached.

Regards,
Veli
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Rubens
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or