I\'ve got an asp:Image. I want this control to display, only if <%#Eval(\"Image\")%> is not null.
<%#Eval(\"Image\")%>
null
I do not know how to write this con
You can bind the Visible property of your control to the expression and call DataBind() while the page is loading:
Visible
DataBind()
If you are not using server controls and want to show/hide simple markup, you can simply enclose it in an if statement:
if
<% if ( condition ) { %> <% } %>