Return value from a uniselctor in webpart code

Novice User asked on June 12, 2018 21:29

I have a field in my web part and its form control I have set to uni selector. I am using that field to retrieve the values that uni selector is returning. Is this a correct way to get uni selector values in the web part ?

get { string myprop = ValidationHelper.GetString(GetValue("myprop "), ""); return myprop ; }

Values i.e NodeIds are returning but they are appended with "11;13;12;14;"

Please help.

Recent Answers


Jan Hermann answered on June 13, 2018 14:50

Yes, that is correct. When your uni selector is configured to select multiple rows the value then contains all IDs separated by your delimiter.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.