title: Setting the size of an image in an ASP.Net TreeView
body: <p>How do you set the size of an image in an ASP.Net TreeView?</p>
  
  <p>We tried to set the size like this but the images are showing in full size:</p>
  
  <pre><code>&lt;asp:TreeView 
      runat="server"
      DataSourceID="KnowledgeAcademySiteMap"&gt;
  
      &lt;RootNodeStyle ImageUrl="/Images/book.png" Height="32px" Width="32px" /&gt;
      &lt;ParentNodeStyle ImageUrl="/Images/book.png" Height="32px" Width="32px" /&gt;
      &lt;LeafNodeStyle ImageUrl="/Images/book.png" Height="32px" Width="32px" /&gt;
  &lt;/asp:TreeView&gt;
  </code></pre>