Allows selection of a blog category by displaying a dropdown list of all available blog categories. The model is the category ID.
Model Type: int
Name | Type | Default | Description |
---|---|---|---|
ShowAll | bool | false | Defines whether an additional entry "(All)" is added as the first entry with a value of 0. Only one of ShowAll, ShowSelectIfNone, ShowSelect should be specified. |
ShowSelectIfNone | bool | false | Defines whether an additional entry "(select)" is added as the first entry with a value of 0 if model's category ID is 0. Only one of ShowAll, ShowSelectIfNone, ShowSelect should be specified. |
ShowSelect | bool | false | Defines whether an additional entry "(select)" is added as the first entry with a value of 0. Only one of ShowAll, ShowSelectIfNone, ShowSelect should be specified. |
[Category("Blog"), Caption("Default Blog Category"), Description("The default blog category displayed when no blog category is selected")] [UIHint("YetaWF_Blog_Category"), AdditionalMetadata("ShowAll", true), Required] public int DefaultCategory { get; set; }
Last Updated 04/24/2022 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com