APNSoft - Web Controls, components for ASP.NET Home Help Center Contact Us
About UsProductsDownloadsPurchase
Support

Menu
Version 3.5



What's New
Overview
Features
Reference Book
Licensing
Support



Populating with Data
Appearance
Layout
Behavior
Programming




Customizing the look-and-feel of your menu is accomplished through the following steps:
  1. Define the XML Menu Structure.

    At this step you should define the XML Menu Structure with menu items.

    You can save the XML definition structure as a file (Menu Structure File) and bind the menu by specifying the StructureFileURL property of the Menu component.

    You can build up menu at runtime. APNSoft Menu provides an extremely rich and powerful server-side API allowing developer to add, remove or edit menu elements and element collections. You can programmatically control any menu item at runtime by using two classes MenuElement and MenuElementCollection.

    You can also apply the XML Document with structure by using the DataSource property. If the menu loads structure from the database, you should set the DataSource property to specify a source of data and call the DataBind() method.

  2. Create the Skin.

    A Skin is a collection of two CSS styles (for horizontal and vertical menu) and a set of graphic files (arrows, icons, item images, etc.) that determine the way the Menu is going to look. All of them should be placed in the Skin Folder as specified by the SkinFolder property. CSS styles and submenu arrows have predefined names. Users can only change contents of these files.

    Skin Folder content:

    CSSStyleHorizontal.CSS CSSStyleVertical.CSS
     
    ArrowDown.gif ArrowDownOver.gif ArrowUp.gif ArrowUpOver.gif
    ArrowRight.gif ArrowRightOver.gif    

    This page demonstrates several popular skins taken from the Skins Library. Please download the entire collection of skins from the Download Section.

  3. Set component properties.

    Properties can be set in three ways:





  © 2003-2008 APNSoft. All rights reserved. Table of Contents   Terms of use   Contact Us   Help Center