Complete documentation of all features available in asp.net category listing script used to generate professional category listings, navigations and directories.
There is a module located in /modules/category_v2.ascx is responsible for generating any type of category listing by simply dragging it on asp.net page and setting simple properies.
List of properties and their detail are as follows.
| Property | Type | Default | Description |
|---|---|---|---|
| BoxCssClass | string | --- | Css class to be used on outter layer of category listing. |
| HeadingCssClass | string | --- | Css class used to styling heading part of category listing. Heading is optional part of category listing which can be disabled. |
| BodyCssClass | string | --- | Css class used to layout and style actual listing outer part below heading section. |
| ListingCssClass | string | --- | Css class apply on complete ul li listing within body part. |
| ParentCssClass | string | --- | Css class apply on parent category links. |
| CssClass | string | --- | Css class apply on child category links. |
| ParentBoxCssClass | string | --- | Css class apply on parent category link in multi column directory style listing. Example |
| ChildBoxCssClass | string | --- | Css class apply on child category links within single parent category in multi column directory style listing. Example |
| ActiveCssClass | string | --- | Css class apply on active or selected category link. |
| isMainNavigation | bool | false | Mark selected category listing as navigation by disabling heading portion, outer category layer to make it simple listing in order to fit in any horizontal or vertical navigation. |
| isHeading | bool | true | Enable, disable heading part of category listing |
| HeadingTitle | string | --- | Set heading title. |
| ShowParentsOnly | bool | false | Restrict listing to load and display only parent categories. |
| isHierarchy | bool | true | Display listing in parent / child n tier hierarchy like treeview. |
| showCounter | bool | false | Show counter (no of records available in each category) with each link. Counter data is fetched from "records" field. So make sure you update "records" field (count and store available records) |
| MultiColumn | bool | false | Enable / Disable multi column listing. |
| TotalColumns | int | 1 | Total number of columns created in listing. |
| RepeatDirection | int | 0 | Repeat direction within multi column listing. 0: vertical, 1: horizontal, Only enabled if multi column and show parent only mode is enabled. |
| ColumnWidth | string | 30% | Width of each column in multi column listing. Adjust width of column with total number of columns. |
| Type | int | 0 | Set type for different types of category listings. e.g if you want to create different categories for different types of records like (videos, photos, blogs, classifieds, forums, directories etc). Create type for each type of item, assign it at time of adding categories via drop down and use it here to filter categories based on type of record. |
| isAll | bool | false | Enable to display all available category listings. |
| Total_Records | int | 30 | Display total number of records in case isAll property is false. |
| Mode | int | 0 | Besie Type property in some cases you need to group single type of categories in more than one group. e.g group photos categories of automobiles into "vehicle style", "vehicle type", "models", "colors" then you need to create mods, assign it at time of creating categories and used it to filter records in listing through mode value. |
| ParentID | int | 0 | Start fetching of category data through starting point of parentid. Be default is (0). You can start fetching database from any tier of listing by specifying parentid. |
| MoreLinkText | string | --- | Set more link text if enabled. |
| LinkToolTip | string | --- | Set more link tool tip if enabled. e.g "browse all categories" |
| MoreLinkUrl | string | --- | Set more link url if enabled. |
| Order | string | --- | Order category listing via priority or category name or through any field. default (priority desc, categoryname asc) |
| NavigationCssClass | string | --- | Css Class apply on ul li listing. |
| TotalParents | int | 0 | Restrict parent categories to any number if total parents value > 0 |
| TotalChilds | int | 0 | Restrict child categories within each parent if total child value > 0 |
| UlParentCssClass | string | --- | Css class apply on parent <ul> element. Used mostly in case of creating menu bars. |
| UlChildCssClass | string | --- | Css class apply on child <ul> elment. Used mostly in case of menus. |
| URL | string | --- | Pass url with pattern http://www.abc.com/categories/[CID]/[CN] where [CID] replaced with category id and [CN] replace with category name or term. |
| Value | string | --- | Customize category value within link. Used in some rare cases.Custom Value e.g <span>[CN]</span>[CT],[CID] where [CN] -> category name, [CT] -> term and [CID] -> category id |
| DirectoryBoxCssClass | string | --- | Css class apply in outter layer of each parent / child listing group in case of advance directory structuring. Example |
ASP.NET Category Listing Script