title: Nested If Else Kendo UI
body: <p>I am writting Nested If else as follows:
  What wrong with the code:</p>
  
  <pre><code>#if(item.ATTACHMENTS == 'Aftermarket'){#
                      #if(item.IS_ATT_AM_UPDATED == 'Y'){#
                          &lt;img id="AftermarketBlueCircle" src="@Url.Content("~/Content/Images/BlueCircle.png")" /&gt; 
                      #}
                      else{#
                             &lt;img id="AftermarketHalfCircle" src="@Url.Content("~/Content/Images/HalfBlueCircle.jpg")" /&gt; +
                      #}#
             else{#
                   #if(item.IS_ATT_TS_UPDATED == 'Y'){#
                          &lt;img id="AftermarketBlueCircle" src="@Url.Content("~/Content/Images/BlueCircle.png")" /&gt; 
                      #}
                      else{#
                             &lt;img id="AftermarketHalfCircle" src="@Url.Content("~/Content/Images/HalfBlueCircle.jpg")" /&gt; +
                      #}#    
                  #}#
  </code></pre>
  
  <p>Please suggest</p>
  
  <p>Thanks in Advance !!!</p>