CHAN Reference

Chan Home | Reference Home | Event Firing Order | web.config

   

Controls.Image

    
  • Name Image
  • CSS Class CC_Image
  • Type Path: string, Tag: String

In its simplest guise an Image control allows you to show an IMG tag on the page and control its src and alt/title text from code. However the Image control also has a powerful array of extra features, unlocked via its Zoom and Target properties.

You can, for example, use the Image control to create quick Javascript onmouseover based rollovers, or even Javascript (and NoScript!) image galleries without needing any codebehind.

Roadmap

  • Breaking change : rename Link property to Href
  • Also reconsider names of Path and Zoom properties
  • Target is poorly overloaded and should work (switch excepted) for NoScript when not in a form
  • Doesnt provide for javascript events but loath to allow raw attributes to be passed down from the ASPX like .Net does