Copied to clipboard

Flag this post as spam?

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


  • Pete 152 posts 176 karma points
    Sep 04, 2009 @ 15:42
    Pete
    1

    How do I refer to a datatype and its prevalues in .NET code?

    For example, say I have a datatype of "Country Drop Down" which is, funnily enough, a drop down list of countries. 

     

    This is fine for using within the CMS, but I would like to use the same datatype in .NET code. I.e. bind an asp.net dropdownlist to the list of prevalues. 

     

    How do I go about doing this in code? 

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 04, 2009 @ 15:52
  • Pete 152 posts 176 karma points
    Sep 04, 2009 @ 16:16
    Pete
    1

    Cheers Dirk.

     

    I did come across that post in my travels but should have asked - how do I get the datatypeid? There's no properties tab for the datatypes and no mention of an id.

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Sep 04, 2009 @ 21:25
    Hendy Racher
    2

    Hi Pete,

    Hover over the datatype in the tree you'll see the id passed into a javascript call that updates the right hand panel.

  • Pete 152 posts 176 karma points
    Sep 07, 2009 @ 11:21
    Pete
    1

    Thanks Hendy ;-)

Please Sign in or register to post replies

Write your reply to:

Draft