WPF validation rule problems in a datagrid -


i'm having problem using validation rule in data grid:

i want use validationrule on datagridcomboboxcolumn, used this example

for guidance, in particular bindinggroup stuff.

this works extent seems broken. validatiorule doesn't fire combo box selection changes, instead fires when change selection click on row in datagrid. need fire have changed selection of combo box.

i've tried messing validation step no avail, can help?

thanks in advance!

you need change default updatesourcetrigger property combobox.

updatesourcetrigger=propertychanged 

if still doesn't work check out this post details way take care of selection change not being forced model.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -