c# - Silverlight - Dynamic binding by visibility -


if have 2 text boxes, 1 visible, other 1 isn't. both bound same property.

is there way bind visible one? way validation causes 1 error in validation summary?

i have form many fiends many different ways people can enter data based on selection. wondering if there way of maybe having method goes on hidden components , disables validation or/and unbinds temporarily.

here's nice short example of you're trying accomplish: http://blog.dotnetstep.in/2009/12/silverlight-3-enable-and-disable.html

you use visual tree walker in example walk visual tree , remove bindings on framework elements have visibility value of collapsed: http://netpl.blogspot.com/2010/03/silverlight-visual-tree-walker.html


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -