Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Can anyone help on how to retrieve value from xml when using EnumCheckBoxlist ?
At the moment i have the following output when Storage Type is XML.
<EnumCheckBoxList> <enumName>Option 1</enumName> <enumName>Option 2</enumName> </EnumCheckBoxList>
And works fine when storage type is CSV with the follwoing code.
@foreach (var test in userTel.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries)) { @test }
But now that i want it in XML how to get ride of <EnumCheckBoxList>
Looks like
@Html.Raw(test.ToString())
got this working
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Retrieve XML value from EnumCheckBoxList
Can anyone help on how to retrieve value from xml when using EnumCheckBoxlist ?
At the moment i have the following output when Storage Type is XML.
<EnumCheckBoxList> <enumName>Option 1</enumName> <enumName>Option 2</enumName> </EnumCheckBoxList>
And works fine when storage type is CSV with the follwoing code.
@foreach (var test in userTel.Split(new char[] { ',' }, StringSplitOptions.RemoveEmptyEntries))
{
@test
}
But now that i want it in XML how to get ride of <EnumCheckBoxList>
Looks like
got this working
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.