asp.net.ph

Menu.StaticItemFormatString Property

System.Web.UI.WebControls Namespace   Menu Class


.NET Framework version 2.0

Returns or sets additional text shown with all menu items that are statically displayed.

Syntax


Inline <asp:menu staticitemformatstring = strValue ... >
Script Menu.StaticItemFormatString [ = strValue ]

Property Value


strValue The additional text or characters that appear with all menu items.

The property is read/write with no default value.

Remarks

Use the StaticItemFormatString property to insert text to format static menu items in a menu displayed on mobile devices.

The Menu control supports templates for the display of static and static menu items. For mobile devices, templates are ignored, so this property allows you to add characters or text to apply formatting to menu items without using a template.

NOTE: To achieve consistent formatting when you use this property, you should also set the DynamicItemFormatString property if you want the formatting to be identical between the static and dynamic menu items.

If both template formatting and this property are applied, the template formatting is ignored for mobile devices.

See Also

Menu Members   DynamicItemFormatString Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph