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

Multi-Binding

4 Answers 110 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Drew
Top achievements
Rank 1
Drew asked on 21 Mar 2011, 06:56 AM
Hi,

I have a scenario that may be difficult to explain, but I'll try.

Basically I have created a Silverlight application that allows my company to log job requests and then view the currently open jobs in a RadGridView. Each open job has a combo box with each employees name, so you can select who the job is assigned to. This all works fine.

What I want to be able to do is assign jobs to multiple people. i.e. Assign a Job to John, Dean and Paul using a combo box filled with check boxes.

My issues with doing this are as follows
- How can I bind which check boxes are checked (i.e. Which employees are assigned)
- When using the grid filter, I want to be able to select an employee and see all their assigned jobs (Including ones they are dual assigned to).

All my data is stored within an SQL table.

Hope this makes sense.

Regards,
Drew

4 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 24 Mar 2011, 08:06 AM
Hello Drew,

I am sending you a possible solution to your case. Please, have a look at it and inform us, if this approach fits into your requirements.


Regards,
Ivan Ivanov
the Telerik team
0
Drew
Top achievements
Rank 1
answered on 25 Mar 2011, 03:58 AM
Thank you, that was exactly what I was after.

Is there a way to customise the Assigned to Filter?
i.e. For John, it should show all jobs that he is assigned to (including with other people).

Regards,
Drew
0
Ivan Ivanov
Telerik team
answered on 28 Mar 2011, 12:28 PM
Hi Drew,

The easiest way to achieve a high level of customization, when filtering is concerned, is to implement a custom filtering control. I have prepared a sample project for you that utilizes such an approach. Please, refer to it.

All the best,
Ivan Ivanov
the Telerik team
0
Drew
Top achievements
Rank 1
answered on 29 Mar 2011, 01:24 AM
Brillaint, exactly what I'm after.

Thanks for your help.

Regards,
Drew
Tags
GridView
Asked by
Drew
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Drew
Top achievements
Rank 1
Share this question
or