Displays the full name of a Canadian province given an abbreviation. If the model is null or the abbreviation is not found, nothing is rendered.
Model Type: string
All provinces and their abbreviations are defined in ./CoreComponents/Core/Addons/_Templates/CAProvince/CAProvinces.txt.
The variable Globals.MaxProvince defines the maximum length of an abbreviation for a Canadian province.
[Caption("Province"), Description("The province where your new fax number is located")] [UIHint("CAProvince"), ReadOnly] public string Province { get; set; }
Allows selection of a Canadian province from a dropdown list. The model returns an abbreviation for the selected province.
Model Type: string
All provinces and their abbreviations are defined in ./CoreComponents/Core/Addons/_Templates/CAProvince/CAProvinces.txt.
The variable Globals.MaxProvince defines the maximum length of an abbreviation for a Canadian province.
Name | Type | Default | Description |
---|---|---|---|
NoDefault | bool | false | Defines whether a "(select)" entry is automatically added as the first entry, with a value of null |
[Caption("Province"), Description("The province where your new fax number is located")] [UIHint("CAProvince"), StringLength(Globals.MaxProvince), AdditionalMetadata("NoDefault", true), Trim] public string Province { get; set; }
Last Updated 04/24/2022 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com