开发者

Update ValidationSummary after UpdateSource

I'm forcing an update of every textBox in a silverlight page:

this.txtName.GetBindingExpression(TextBox.TextProperty).UpdateSource();
开发者_开发技巧

Everything works fine (the textbox shows its error, etc...) but ValidationSummary is not refreshed...

Any idea??


Edit:

After some tests I've realized it was because ValidationSummary wasn't loaded yet. I'll start a new question to ask this...


I just had to call the UpdateSource on Loaded page event.


NotifyOnValidationError = “True”?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜