Hi, no one any idea? I can't imagine, no one has ever accesses prevalues from an Umbraco dropdownlist from a web user control (.ascx)
The user scenario I would like to enable is that editors can can check wich list items they want to add to a check box list. These list items are then accessed in a web user control and added programmaticaly to a <asp:CheckboxList>
There's a function built into the library for this, it's:
umbraco.library.GetPreValues('0000')
This will return an XML nodeset of the prevalues for the Datatype Node ID that you pass in (you get it by hovering over the datatype in the Developer section). Theres an example similar to what you want to do in the wiki - GetPreValues
access prevalues from usercontrol
Hi,
I'm looking for a way to access prevalues from an umbraco dropdownlist datatype from within a usercontrol.
Thanks for your advice,
Anthony Candaele
Belgium
Hi, no one any idea? I can't imagine, no one has ever accesses prevalues from an Umbraco dropdownlist from a web user control (.ascx)
The user scenario I would like to enable is that editors can can check wich list items they want to add to a check box list. These list items are then accessed in a web user control and added programmaticaly to a <asp:CheckboxList>
Thanks for your help,
Anthony
Hi Anthony,
There's a function built into the library for this, it's:
This will return an XML nodeset of the prevalues for the Datatype Node ID that you pass in (you get it by hovering over the datatype in the Developer section). Theres an example similar to what you want to do in the wiki - GetPreValues
Hope this helps...
-Tom
is working on a reply...