Is there a way to create a radiobuttonlist datatype that gets it's values from dictionary items? Or is there another way to get dictionary items in a radiobutton list?
I don't think such list exists! Are you going to use this from xslt or as a property on a document type. For the letter, I'd suggest looking into building a datatype that reads all dictionary items and put them in a radiobutton list. If to be used from xslt, write a small xslt extension method that returns all dictionary items. Have a look at the api docs.
I was trying to use it with Doc2Form to display a gender radiobutton list in the right language. Doc2Form works great with labels and messages from the dictionary, but I haven't been able to find a way to get the radiobuttonlist values in there. I could just write a custom usercontrol myself in Visual studio (not a big fan of xslt), but doc2form is so much faster :)
Radiobutton list datatype values from dictionary?
Is there a way to create a radiobuttonlist datatype that gets it's values from dictionary items? Or is there another way to get dictionary items in a radiobutton list?
Hi Peter,
I don't think such list exists! Are you going to use this from xslt or as a property on a document type. For the letter, I'd suggest looking into building a datatype that reads all dictionary items and put them in a radiobutton list. If to be used from xslt, write a small xslt extension method that returns all dictionary items. Have a look at the api docs.
Hope this helps.
Regards,
/Dirk
Thanks for your reply.
I was trying to use it with Doc2Form to display a gender radiobutton list in the right language. Doc2Form works great with labels and messages from the dictionary, but I haven't been able to find a way to get the radiobuttonlist values in there.
I could just write a custom usercontrol myself in Visual studio (not a big fan of xslt), but doc2form is so much faster :)
Well, it looks like Contour does exactly what I want :) Guess I'll give that a shot.
is working on a reply...