Developer forum

Forum » CMS - Standard features » How can i get and publish value of a System.String[]

How can i get and publish value of a System.String[]

Hans Ravnsfjall
Hans Ravnsfjall
Reply

If I use template tags, i get this field

Infosidaa_EvniInfopage System.String[] System.String[]

 

This is a field based on checkboxes, and i know it has some value. But no mather how I try, I cant get and publish the values of the string array.

 

Hope you can help?

 

/Hans


Replies

 
Nicolai Pedersen
Reply

Something like this?

string[] arr = GetValue("Infosidaa_EvniInfopage");

        foreach (string s in arr)
        {
            <div>@s</div>;
        }

 

You must be logged in to post in the forum