Trying to only print if a string isn't empty, and am using the code below, but it keeps coming up with that error...
<%if(!String.IsNullOrEmpty(o_handler.renderDesc())) { %>
<strong>Description:</strong><BR>
<HR SIZE="1">
<strong><%= o_handler.renderDesc()%></strong>
<HR SIZE="1">
<BR>
<%} else { %>
<%}%>
Also tried this:
<%if( o_handler.renderDesc() != null ) { %>
<strong>Description:</strong><BR>
<HR SIZE="1">
<strong><%= o_handler.renderDesc()%></strong>
<HR SIZE="1">
<BR>
<%} else { %>
<%}%>
Here's the error:
Compiler Error Message: VJS1223: Cannot find method 'IsNullOrEmpty(String)' in 'String'