Hi All,
I've not had much experience with the rad controls, but what I see so far is pretty good.
I did some searching online, but either was using the wrong search terms or what I want to do is not possible.
I have a listbox on a page. What I want to do is bind it to a linq datasource with checkboxes filled in from the datasource.
I'm hoping that I can pass in a datasource with 3 columns:
ReceivedEmail: Boolean
ClientID: Int
ClientName: String
True-1-Fred Smith
True-2-Betty White
False-3-Amy Whinehouse
This would produce a list with the three names and the first 2 items checked without any extra work in code...
I was talking to one of the other guys I work with and he said that he usually binds to a datasource and then loops through all the list items after binding has finished and then sets the checked flag..
This seemed a little inefficient, and figured that if the control handled it, why not do it in one go..
Does this make sense..?? Can it be done already..???
Many thanks
I've not had much experience with the rad controls, but what I see so far is pretty good.
I did some searching online, but either was using the wrong search terms or what I want to do is not possible.
I have a listbox on a page. What I want to do is bind it to a linq datasource with checkboxes filled in from the datasource.
I'm hoping that I can pass in a datasource with 3 columns:
ReceivedEmail: Boolean
ClientID: Int
ClientName: String
True-1-Fred Smith
True-2-Betty White
False-3-Amy Whinehouse
This would produce a list with the three names and the first 2 items checked without any extra work in code...
I was talking to one of the other guys I work with and he said that he usually binds to a datasource and then loops through all the list items after binding has finished and then sets the checked flag..
This seemed a little inefficient, and figured that if the control handled it, why not do it in one go..
Does this make sense..?? Can it be done already..???
Many thanks