[SOLVED] Silverlight AsyncRuleHandler executing multiple times
[SOLVED] Silverlight AsyncRuleHandler executing multiple timesOld forum URL: forums.lhotka.net/forums/t/8296.aspx
mesh posted on Thursday, January 07, 2010I have situation that AsyncRuleHandler is being executed multiple times after calling ValidationRules.CheckRules. To be exact, AsyncRuleHandler is is being called as many times as there are ValidationRules.AddRule calls placed AFTER that AsyncRule call in AddBusinessRules override. So, if I put AsyncRuleHandler as last call in AddBusinessRules method, async rule is being called correctly, only once.
Am I missing something here?
mesh replied on Thursday, January 07, 2010I was wrong, in some situations my code was not calling context.Complete().
Copyright (c) Marimer LLC