I have 2 unbound columns being calculated
I want that the sum of the 2 unbound columsn should not exceed 100
How can I validate that
How can it be done when 2 unbound columns are involved
Hi,
You could implement IDataErrorInfo (http://msdn.microsoft.com/en-us/library/system.componentmodel.idataerrorinfo(v=VS.95).aspx) or INotifyDataErrorInfo (http://msdn.microsoft.com/en-us/library/ee652637(v=VS.95).aspx) on your data type and validate that when one of the bound columns that participate in the calculations is changed the sum does not exceed the boundary.
HTH