Last active
August 29, 2015 14:14
-
-
Save jasonhjohnson/19c53cf19a10e434d46d to your computer and use it in GitHub Desktop.
Expressive Annotations Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Html.EditorFor(x => x.NewRenovationConstruction, new { options = yesNoListItems, @class = "radio-inline", @data_bind = "" }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Serializable] | |
public class PropertyViewModel : FormGroupViewModel | |
{ | |
/// <summary> | |
/// Gets or sets the new renovation construction. | |
/// </summary> | |
/// <value> | |
/// The new renovation construction. | |
/// </value> | |
[UIHint("RadioButtonList")] | |
[RequiredIf("RenewalFormGroupStatusId == 3", ErrorMessage = "Please provide an answer before completing the application.")] | |
public string NewRenovationConstruction { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment