Renaming and Deleting Menu Controls

Do not change an ASP.NET menu control’s ID in the menu control file (.ASCX).  Your application web pages’ code-behind files will not be updated with the modified name.

If you change the menu control’s file name, the related sitemap file name also changes.  However, the sitemap file name referenced in the sitemap section of Web.config does not change, so you must modify it manually in order for your application to function properly.

If you delete a menu control, the related .ascx, .ascx.vb, html, xml and sitemap files are also deleted.  However, the Provider section in your application’s Web.config file for the deleted sitemap file is not removed.  You must remove this manually.

See Also

Configuring Multi-Level Menus

Specifying Security Roles for Multi-Level Menus

Specifying the Sitemap Provider

Renaming and Deleting Menu Controls

Adding Menu Items Programmatically at Application Run-time

Changing the Application Menu Type from Classic to Multi-level

Improving Multi-Level Menu Performance