I'm trying to get a Multiple Selection List Box that's populated from
a database based on a Dropdown to have all of the options selected by
default. I figured there would be some simple setting for this
control to set all items to checked or unchecked by default, but I
haven't found any such thing. Anyone have any ideas?
Art - 18 Apr 2007 02:14 GMT
No easy way
> I'm trying to get a Multiple Selection List Box that's populated from
> a database based on a Dropdown to have all of the options selected by
> default. I figured there would be some simple setting for this
> control to set all items to checked or unchecked by default, but I
> haven't found any such thing. Anyone have any ideas?
S.Y.M. Wong-A-Ton - 18 Apr 2007 08:10 GMT
Like Art said, there is no easy way to do this. But you could always use
code, of course. :) What you would have to do is loop through the source of
the multiple selection list box, create a field containing the value for each
item from your source, and append it under the group node that represents the
list.
---
S.Y.M. Wong-A-Ton
> I'm trying to get a Multiple Selection List Box that's populated from
> a database based on a Dropdown to have all of the options selected by
> default. I figured there would be some simple setting for this
> control to set all items to checked or unchecked by default, but I
> haven't found any such thing. Anyone have any ideas?