Geeks With Blogs
Clara's Notes on Technology Notes to me and the world October 2008 Entries
VisualStudio "Find in files" not working
I regularly get this problem. The "Find in files" function of VisualStudio (2008!) stops working. Whatever I search for it always says "No files were found to look in. Find was stopped in progress". It is very annoying. Since I have only found one other blog that mentions it and gives a solution (here - thank you!), I'm going to reproduce it. Solution: press Control + Scroll Lock (yes, it doesn't make much sens but it works). Technorati Tags: Find in files,Visual Studio ......

Posted On Friday, October 17, 2008 9:08 AM

WPF RadioButtons and data binding
There is a well-known issue with WPF RadioButton controls with data binding: when a radio button is unchecked the data binding is not undone. For example, suppose you have the following two radio buttons in the same group linked to a the "IsSuccess" (of type bool?) attribute of an object: <RadioButton Grid.Row="0" Grid.Column="0" GroupName="rbGroup" Margin="8,0,0,0" VerticalAlignment="Center" Content="Success" x:Name="rbSuccess" IsChecked="{Binding Path=IsSuccess, Mode=TwoWay, Converter={StaticResource ......

Posted On Friday, October 17, 2008 8:46 AM

Many-to-many relationships & Object graph cycles
Suppose you have three tables in your database where one of them specifies a many-to-many relationship between the other two (example from AdventureWorks): Suppose also that you have a method such as GetVendors(int productID) that will retrieve all the vendors for a given product through the ProductVendors table (that is , the many-to-many table). Now, if this method is exposed via a WCF service, when your client calls it you will see an exception like this one: "System.ServiceModel.Commun... ......

Posted On Friday, October 10, 2008 7:52 AM

Copyright © Clara Oscura | Powered by: GeeksWithBlogs.net