Advanced Forum Search Results
-
Here's the full text
Not Breaking on ValidationException (take 2)
by Jeff Handley via Jeff Handley on 8/8/2009 2:44:39 AM
Awhile back, I blogged about how Silverlight uses Validation Exceptions, which can cause the debugger to break. I showed how to prevent that from happening, but the solution was less than ideal.
Someone named ...
-
I setup Jesse Liberty's mini-tutorial "Silverlight Validation in Detail" as a visual studio solution. Absolutely verbatim. Yet when I ran it an an unhandled error tripped up the debugger in the get/set for ISBN10 (at line 36 ... the debugger opted out).
** I'd very much appreciate a note from someone at ...
-
[quote user="ken tucker"]wondering if you changed the xmlns if you still get the error[/quote]
The reason I looked at the Sample was that I was seeing the same thing in another project (mine)
xmlns:local="clr-namespace:StreaMash_MediaUploader"
<local:MdItmsCollection x:Key="MdItmsCollectionDatSrc" ...
-
Blend3 is showing an error that Visual Studio doesn't... and I get it even when running the MS tutorial "DataBindingInSilverlight.sln" ....
The reads: "The name "Library" does not exist in the clr-namspace, "clr-namspace:DataBindingInSilverlight" " ... where Library is a Class.
Is ...
-
Ah.. I see... like this then
<StackPanel DataContext="{Binding Source={StaticResource MediaItemDatSrc}}" >
<ItemsControl x:Name="itemsControl" ItemsSource="{Binding KeywordColltn, ...
-
Can I databind the children of a StackPanel (or WrapPanel) to an ObservableCollection?
What I'd like to do is add/delete child elements from a stackpanel and have a collection of objects (a class which holds a bunch of data in strings, etc. that the StackPanel children represent). The Mode will be TwoWay (I'm going to allow the User ...
-
thank you for the feedback... !
-
thank you.... that's definitely the case... but I was under the impression from documentation and examples that setting the DataGrid Source as TwoWay would apply that to all bindings within the template.. Clearly that not true though... confusing...
ItemsSource="{Binding MediaItmsCollection, Mode=TwoWay}"
-
I've answered my own question by using Expression Blend to generate the binding statement:.. that is>
IsChecked="{Binding ItemView, Mode=TwoWay, UpdateSourceTrigger=Default}"
Now the ItemView value is updating correctly when the CheckBox is checked/unchecked.
WHY!!?? None of the sample code I've seen shows this syntax ...
-
I have a CheckBox in a RowDetailsTemplate
The DataGrid code>
<data:DataGrid x:Name="MItmsDatagrid" HorizontalAlignment="Stretch" VerticalAlignment="Top" RowDetailsVisibilityMode="Collapsed" ItemsSource="{Binding MediaItmsCollection, Mode=TwoWay}" AutoGenerateColumns="False" ...