Hello,
we have generated data classes from WCF (not RIA).
We looking for declarative constraints on data layer. Not only validation (showing red message) but inplace editing constraint (for example max length).
DataAnnotations seem to be the right solution.
1) Is DataAnnotations supported in all telerik controls like MaskedTextBox, DatePicker, ..? (In RadControls_for_Silverlight_2010_1_0309 working for me only on RadGrid ?!).
2) Is any chance to define DataAnnotations on client side (not on generated classes) ? Define on 'Partial' co-class? Define MetadataTypeAttribute like on server side?
3) Any global hook in Telerik Controls for custom runtime programable constraint? (Probably not good idea :-) )
we have generated data classes from WCF (not RIA).
We looking for declarative constraints on data layer. Not only validation (showing red message) but inplace editing constraint (for example max length).
DataAnnotations seem to be the right solution.
1) Is DataAnnotations supported in all telerik controls like MaskedTextBox, DatePicker, ..? (In RadControls_for_Silverlight_2010_1_0309 working for me only on RadGrid ?!).
2) Is any chance to define DataAnnotations on client side (not on generated classes) ? Define on 'Partial' co-class? Define MetadataTypeAttribute like on server side?
3) Any global hook in Telerik Controls for custom runtime programable constraint? (Probably not good idea :-) )