asp.net In a repeater is it possible to call a public function from another class?
Say I have this repeater which makes use of a public function called Test in the code-behind. <asp:Repeater ID="Repeater1" runat="server"> <HeaderTemplate> <table> </HeaderTemplate> <ItemTemplate> <tr> <td><%# Eval("MyCol1")%></td> <td><%# Eval("MyCol2")%></td> <td><%# Test((int)Eval("MyCol1"))%></td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater> In my code-behind, I have this function public string Test (int Value) { return "Test"+Value.ToString(); } This works fine but in my website I will have similar repeaters on various pages and most of them will need