Attributes on ListItems

Aug 10, 2010 at 8:25 PM

Well, you responded so fast on my last one that I have decided to ask you another one... :)

I have the need to add a "rel" attributes (and sometimes "class" attributes) to specific items in the Radio and CheckBox lists.  It doesn't look like there is a way to do that using the InputAttributes at this point (or am I missing it).

Therefore, I think it just may be a matter of adding a collection to the ListItem class and then rendering it appropriately.

Does that sound like I'm heading in the right direction?

Thanks in advance for any commentary you can supply. 

Coordinator
Aug 10, 2010 at 8:32 PM

That sounds like a great idea. I will implement it this evening or you can send me some code.

Thanks for contributing!

Aug 10, 2010 at 8:34 PM

I am going to be selfish here and say...I was going to write it..but if you are going to knock it out by tomorrow...I will wait. 

If you don't think that you will be able to get to it...then I am all over it and will certainly share the code with the project.

Happy coding!

Ken

Coordinator
Aug 11, 2010 at 2:56 AM
Implemented in Change Set c56cfa1cf461. Test it out and let me know what you think.
Aug 11, 2010 at 2:57 PM

Perfect. Nice job.