title: Adding a class attribute on the Image tag generated by the hyperlink control
body: <p>I have a hyper link control and I set the NavigateURL and the ImageURL property at runtime. I also need to set the class of the image tag that it generates but I cannot figure out how I can do that. The solution mentioned here</p>
  
  <p><a href="https://stackoverflow.com/questions/1428879/apply-css-class-to-image-in-asphyperlink">Apply CSS Class to Image in asp:Hyperlink?</a></p>
  
  <p>does not work because the image url is hard coded.</p>
  
  <p>any ideas?</p>