Required Field
Add the following to the GridColumn…
ValidationRules="@(new ValidationRules{ Required=true })"
<GridColumn Field=@nameof(InvestmentTransaction.Quantity) HeaderText="Quantity" Format="N0" TextAlign="TextAlign.Right" Width="100" ValidationRules="@(new ValidationRules{ Required=true })"></GridColumn>
Note: Make sure the required field is in the form or you will not be able to proceed to Save.
Comments