title: If statement in HTML
body: <p>Hello i have list of products this my html</p>
  
  <pre><code> &lt;telerik:RadListBox ID="RadListBox1" runat="server" DataSourceID="LinqDataSourceCategories"       Height="200px" Width="250px" CssClass="ui-droppable" &gt;
                  &lt;EmptyMessageTemplate&gt;
                  No records to display.
                  &lt;/EmptyMessageTemplate&gt;
                  &lt;ItemTemplate &gt;
  
                  &lt;div  class="ui-draggable ui-state-default" data-shortid="&lt;%#Eval("ID")%&gt;"&gt;
                  &lt;em&gt;Active : &lt;/em&gt;&lt;span&gt;&lt;%# Eval("LoadProduct") %&gt;&lt;/span&gt;&lt;br /&gt;
                  &lt;em&gt;ProductId: &lt;/em&gt;&lt;span&gt;&lt;%# Eval("ProductId") %&gt;&lt;/span&gt;&lt;br /&gt;
                   &lt;/div&gt;
                  &lt;/ItemTemplate&gt;
  
           &lt;/telerik:RadListBox&gt;
  </code></pre>
  
  <p>I have Active  that is say if LoadProduct true or false
  in client it look like this</p>
  
  <pre><code>&lt;em&gt;Acrive : &lt;/em&gt;
  &lt;span&gt;False&lt;/span&gt;
  &lt;br&gt;
  &lt;em&gt;ProductId: &lt;/em&gt;
  &lt;span&gt;101-01-056-02&lt;/span&gt;
  &lt;br&gt;
  &lt;em&gt;ShortID: &lt;/em&gt;
  &lt;span class="ShortID" data-shortid="0"&gt;0&lt;/span&gt;
  &lt;br&gt;
  </code></pre>
  
  <p>I want to replace text with img ,i need to check if &lt;%# Eval("LoadProduct") %> ==true put img scr=/green.png/ else img scr=/red.png/  that clien will look  like this</p>
  
  <pre><code>    &lt;em&gt;Acrive : &lt;/em&gt;
          &lt;span&gt;&lt;img src='green.jpg'/&gt;&lt;/span&gt;
  
   &lt;br&gt;
          &lt;em&gt;ProductId: &lt;/em&gt;
          &lt;span&gt;101-01-056-02&lt;/span&gt;
          &lt;br&gt;
          &lt;em&gt;ShortID: &lt;/em&gt;
          &lt;span class="ShortID" data-shortid="0"&gt;0&lt;/span&gt;
          &lt;br&gt;
  </code></pre>
  
  <p>Sow how it can be done?
  To add if statement to HTML, </p>
  
  <p>or to catch event that building all elements and there check if LoadProduct==true and append html to item?</p>