| |||||||||||||||||||||
Customizing the SiteMapPath User InterfaceControls You Can Use on Web Forms ASP.NET Navigation Controls SiteMapPath Control The SiteMapPath exposes several properties for customizing the visual rendering of the control. These properties are applied in the order listed below:
The procedures in this topic assume that you have already created a site map and a page that contains a SiteMapPath control. To set the rendering for the SiteMapPath as a wholeA quick way to alter the appearance of the SiteMapPath is to specify the style attributes or templates to use for the control. The following table lists the available styles you can specify for the SiteMapPath.
To customize link style properties
Most of the properties described in the Style and FontInfo classes are available, including the CssClass property.
The following table lists the template types you can specify for the SiteMapPath.
To customize a character that displays between links
To specify an image that displays between links
In addition, you can apply the following customization to a SiteMapPath control:
To reverse the direction of the path displayed by the SiteMapPath control
To limit the number of parent links displayed
AccessibilitySite-navigation controls are typically used on every page in a Web site. Screen readers and other assistive devices read aloud the text in a navigation control during every visit to a page and on every postback. The SiteMapPath, SiteMapPath, and SiteMapPath site-navigation controls each include a property called SkipLinkText that allows repeated information to be skipped on subsequent pages or views of the same page. To use the accessibility skip feature
|
| ||||||||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme