Re: count and then display pages connected to a list element

2010-01-14 Thread markus giesen
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 t

Re: count and then display pages connected to a list element

2010-01-12 Thread RedDot in Toronto
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 wrote: > Hi all, > > I have a list element where the client wants to see how many

count and then display pages connected to a list element

2010-01-12 Thread tportman
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! -- Y