getProperty("") on a checkboxlist returns the values instead of the IDs
Hi,
I'm using a checkbox list in Umbraco (the built-in datatype) and according to the documentation the checkboxlists
"Displays
a list of preset values as a list of checkbox controls. The preset
values are modified in the developer section under "data types" /
checkbox list where new items can be added. The value saved is a comma
separated string of prevalue IDs"
But if I do this
Node nTest = Node.GetCurrent(); String s = nTest.GetProperty("gebied").Value;
The string is comma seperated string of the values instead of the IDs. I'm using Umbraco 4.11.1.
The database has stored the commaseperated IDs, but somehow .GetProperty("").Value turns into the values.
getProperty("") on a checkboxlist returns the values instead of the IDs
Hi,
I'm using a checkbox list in Umbraco (the built-in datatype) and according to the documentation the checkboxlists
"Displays a list of preset values as a list of checkbox controls. The preset values are modified in the developer section under "data types" / checkbox list where new items can be added. The value saved is a comma separated string of prevalue IDs"
But if I do this
The string is comma seperated string of the values instead of the IDs. I'm using Umbraco 4.11.1.
The database has stored the commaseperated IDs, but somehow .GetProperty("").Value turns into the values.
Hope anyone has an answer,
Jeffrey
is working on a reply...