Validating an Entity without a DataForm
starting navigation framework, have customized registration form not use dataform. works until point of submit button. in navigationframework, call made dataform.validateitem ensures of items validated. how make call manually?
for example, there checkbox on form. if user has not checked checkbox or unchecked it, no data validation done before click submit button.
i have done custom validation checkbox should give message must checked before can register. don't see how force validation occur. validation occur on items on form. example, if click submit button without doing @ all, texboxes not yet filled out have red outlline , error message.
thanks,
greg
the answer need write code each control similiar this:
bindingexpression beemail = this.txtemailaddress.getbindingblocked expression;
then state updated, ie show red outline errors.
greg
Silverlight > WCF RIA Services with Silverlight
Comments
Post a Comment