simon
-
8/23/2012 1:00:18 AM
kSharp - adding elements to lists after list creation - how??
Hello,
K Sharp Documentation says that I can create a variable of IList, but when i try to add values to it nothing happens.
eg :
{%
parent = CurrentDocument.Parent; list = List( parent );
return list;
%}
prints nothing.
I need to walk up the tree getting a value from the parent document type, reverse the order of the values and then print it out, but first step is figuring out how to create the list to store the values in.
I know I can do this in ASP.net, but would like to do more kSharp in my projects as it makes syncing so much easier.
|