Starting to hate silverlight
-
My app is apparently throwing an exception as a result of databinding. Afterward, changes to the controls don't propagate back to the object model (it's like the run time just throws its hands up and says "to heck with it"). Whatever is happening isn't showing up anywhere. No exception, no stack trace, no debugger output, and it isn't making it to the global exception handler either. I never thought I'd look back wistfully towards developing client side stuff in javascript, but at least there I could get some idea of what was going on. Is there something special I have to do to get this thing to tell me what is going on? I'm using firefox (I wish I could switch for this project, but I don't want to change my default browser for everything else).
-
My app is apparently throwing an exception as a result of databinding. Afterward, changes to the controls don't propagate back to the object model (it's like the run time just throws its hands up and says "to heck with it"). Whatever is happening isn't showing up anywhere. No exception, no stack trace, no debugger output, and it isn't making it to the global exception handler either. I never thought I'd look back wistfully towards developing client side stuff in javascript, but at least there I could get some idea of what was going on. Is there something special I have to do to get this thing to tell me what is going on? I'm using firefox (I wish I could switch for this project, but I don't want to change my default browser for everything else).
Can you show me XAML for control you are trying to databind? Are you including Mode=TwoWay as in: <TextBox Text="{Binding Value, Mode=TwoWay}" /> ? P.S. If you are new to Silverlight you'll want to watch these screencasts by Mike Taulty, believe me: http://vincenthomedev.wordpress.com/2008/09/17/mike-taulty-44-amazing-silverlight-20-screencasts/[^] Here is direct link to DataBinding one: http://channel9.msdn.com/posts/mtaulty/Silverlight-Databinding-UI-to-NET-Classes/[^]