Correggo il codice che ho postato errato
'-----Head---------
<script>
dim i
Function Ctrl(Str as String) as String
dim restituito
restituito="Debug: "+Str
return restituito
end function
</script>
'------------ body---------
<%
for i=0 to 24
%>
<ASP:repeater id="Repeater1" runat="server">
<ItemTemplate>
<%#Ctrl(i)%>
</ItemTemplate>
</ASP:repeater>
<%next%>


---
non capisco perchè Str dentro la funzione e' vuota!!