kentico_michal
-
3/29/2011 5:07:50 AM
RE:Web Part Property Access
Hi,
In terms of a listbox control, values are separated by a vertical bar and are saved in a following format: value1|value2|value3|value4
So, if you want to get separated values, you need to split the variable using standard String.Split method:
string value = ValidationHelper.GetString(GetValue("Variable"), ""); string [] values = value.Split('|');
Best regards, Michal Legen
|