Hi.
Would it be possible to allow this syntax?
Disabled="@!consignment.CON_Tag_IsDomestic"
consignment.CON_Tag_IsDomestic is a boolean column.
If not, what is the recommended way to achieve the same thing?
Kind Regards
Reg
Hi.
Would it be possible to allow this syntax?
Disabled="@!consignment.CON_Tag_IsDomestic"
consignment.CON_Tag_IsDomestic is a boolean column.
If not, what is the recommended way to achieve the same thing?
Kind Regards
Reg
The syntax depends on razor parser and we cannot do anything about it. The correct syntax in this case is:
Disabled="@(!consignment.CON_Tag_IsDomestic)"
That's rgeat, many thanks