I am sending a value to a Functions class in App_Code but the value which is received by the method is null.
Transformation code:
<p class="<%= SMEFunctions.GetDocumentRatingCssClass(Eval("DocumentRatingValue"))%> />
Functions method:
public static string GetDocumentRatingCssClass(string documentRatingValue)
{
...
}
For some reason, documentRatingValue in the method signature is always Null. What am I doing wrong?