APNSoft.com - Web Controls, components for ASP.NET
 About Us 
 Articles 
 Products
 Downloads 
 Purchase
 Support

ASP.NET Controls

ASP.NET ComboBox
ComboBox
The professional replacement for the classic ASP.NET DropDownList component.

ASP.NET DataGrid
DataGrid
The server control to display data in a tabular format with options of choice, sorting and editing entries.

ASP.NET Include
Include
The server control to include a HTML files into your ASP.NET pages as Server Side Includes (SSI).

ASP.NET Menu
Menu
The server control to display both statically and dynamically created menus on your Web pages.

ASP.NET Rating
Rating
The server control to easily provide feedback on an article, blog item, product description, etc.

ASP.NET TreeView
TreeView
The ASP.NET server control to display hierarchical data in a tree structure.





Is there a way to put menu style to an external CSS file?

By default, control takes CSS Style from the Skin Folder, adds unique prefix to classes and spits out complete style code into the page. You can use CSS Style as external file by using the <link> element inside the <head> section. Do the following:
  • Add the instruction in the section of your web page:

    <link rel="stylesheet" href="~/Menu/Skins/Classic/Style.CSS" type="text/css" />
  • Set the CSSSource property value to Page.
  • Set the CSSClassesPrefix property (specifies a prefix for CSS Style classes) and add prefix to CSS classes:

    <APNSoft:APNSoftMenu id="myMenu" runat="server"
        CSSSource="Page"
        CSSClassesPrefix="m1_"
    />
    
    Style.CSS:
    
    .m1_MainMenuDIV
    {...}
    
    .m1_MainMenuItemTD
    {...}
    
    ....
    


 Search Options:
Topic:    Search for:
  Match:
       

APNSoft FAQ Manager 1.0 (38)   © 2003-2024 APNSoft. All rights reserved.


© 2003-2024 APNSoft. All rights reserved.    Terms of use.