If that doesn't work you can also use preexecute and some asp script.

If you need to display the number of links ABOVE the list then you
have two ways:
insert the list twice and iterate two times
1. to count the list
2. to display the items
(thats a bad thing with large numbers of pages and will take up a lot
of performance)

the other way is to create a asp function that can be called before
the list but the function itself with the required information is
included later.

Cheers,
Markus
www.reddotcmsblog.com

On 13 Jan., 10:21, RedDot in Toronto <[email protected]> wrote:
> Try something like this...
>
> <%!! Context:CurrentPage.Elements.GetElement
> (lst_navigation).Value.Count !!%>
>
> Or just use pre-execute and have a counter variable in between the
> list tags.
>
> On Jan 12, 5:58 pm, tportman <[email protected]> wrote:
>
>
>
> > Hi all,
>
> > I have a list element where the client wants to see how many pages are
> > connected to the list on the web page.
>
> > so I would have the following in SmartTree
>
> > list_testList (a.ka. Links)
> > -page a
> > -page b
> > -page c
>
> > now on my webpage I need this to show:
>
> > Links: 3
>
> > Any suggestions?
>
> > thanks!
-- 
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