Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter S 64 posts 106 karma points
    Nov 10, 2009 @ 14:28
    Peter S
    0

    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?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Nov 10, 2009 @ 15:29
    Dirk De Grave
    0

    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

     

  • Peter S 64 posts 106 karma points
    Nov 10, 2009 @ 15:46
    Peter S
    0

    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 :)

  • Peter S 64 posts 106 karma points
    Nov 16, 2009 @ 11:58
    Peter S
    0

    Well, it looks like Contour does exactly what I want :) Guess I'll give that a shot.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies