Hi,

first of all you must put "<!--RDExecute=ASP-->" into the first row of
your contentclass.

To parse the value into an ASP array, you have to alter your code a
little bit:
<reddot:cms>
  <foreach itemname="eventPage"
object="Context:CurrentPage.Elements.GetElement
(lst_pageNavigation).Value" countername="eventCounter">
</foreach>
</reddot:cms>
<%
        Dim myArray(<%!! Store: eventCounter !!%>, 3)
%>
<reddot:cms>
  <foreach itemname="eventPage"
object="Context:CurrentPage.Elements.GetElement
(lst_pageNavigation).Value" countername="eventCounter">
<htmltext>
        <%
                myArray(<%!! Store:eventCounter !!%>, 0) = "<%!!
Escape:HtmlDecode(Store:eventPage
[Int32:eventCounter].Elements.GetElement(con_Body).Value
[Int32:0].Elements.GetElement(stf_EventName).Value) !!%>"

                myArray(<%!! Store:eventCounter !!%>, 1) = "<%!!
Escape:HtmlDecode(Store:eventPage
[Int32:eventCounter].Elements.GetElement(con_Body).Value
[Int32:0].Elements.GetElement(stf_EventFromDate).Value ) !!%>"

                myArray(<%!! Store:eventCounter !!%>, 0) = "<%!!
Escape:HtmlDecode(Store:eventPage
[Int32:eventCounter].Elements.GetElement(con_Body).Value
[Int32:0].Elements.GetElement(stf_EventToDate).Value) !!%>      
        %>
</htmltext>


  </foreach>
</reddot:cms>

Untested - but this is the right way. 




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/RedDot-CMS-Users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to