Implementing Non-Standard Custom Adaptive Tag Types
To implement non-standard tag types in custom adaptive
tags, including 508-accessible, looping or singleton tags, override
the associated method.
- To display a custom tag in non-standard access styles (508
or low bandwidth), override the SupportsAccessStyle method. The default implementation of the SupportsAccessStyle method will cause the tag to be skipped in 508 and low-bandwidth
mode. Make sure that tags that support 508 mode can function without
JavaScript, since JavaScript will not be displayed in 508 mode.
- If the tag displays the tag body more than once (looping
tag), override the GetTagType() method
and return TagType.LOOPING.
- If the tag never displays the tag body (singleton tag),
override GetTagType() and return TagType.NO_BODY.