I'm creating a SharePoint Web Part that displays list items.
To display these items I am using an
I needed to change the output of
<%#Eval() %> so I added a new static class to the project, created an extension method and imported the namespace in the user control.
<%#Eval() %> looks like this:
The problem is that when I debug this Web Part I get an error saying that 'string' does not contain a definition for MyMethod.