Yesterday I read an article about Internet Explorer behaviors.
Http://msdn.microsoft.com/msdnmag/issues/1200/cutting/
By combining behaviors and HTC, you can use scripts to create code modules and controls on the client.
HTC behaviors has three main forms: attached behavior, element behavior, and viewlinks. attached behaviors can help define any HTML element in the form of CSS styles, while element behavior is equivalent to curing the Custom User Tag Element. Viewlinks technology makes HTC code more independent.
The following is the tabstrip control using behaviors:
This is colorpicker:
In fact, after you define your HTC behavior, it means that these client controls need to be represented by a custom tag, and these controls can be reused in multiple places. You can also use attribute or JScript on the tag to set the attributes exposed by HTC.
These are only part of Internet Explorer behaviors,
For more information about behaviors, refer:
Http://msdn.microsoft.com/library/default.asp? Url =/Workshop/author/behaviors/Overview. asp
Reference for HTC:
Http://msdn.microsoft.com/library/default.asp? Url =/Workshop/components/HTC/reference/htcref. asp