Can I create an inline function/method inside of a user control?

7331

New Member
I want to create an inline function/method inside of my user control, so that I can do this:Inside my test.ascx:\[code\]<asp:Repeater ...> <itemTemplate> <p><%# MyInlineMethod(Eval("hello").ToString())%> </p> <itemTemplate></asp:Repeater>\[/code\]is this possible?
 
Back
Top