Advanced Forum Search Results
-
can you paste the XAML you are using to bind the ItemsSource of the ComboBox?
-
your code *seems* ok except for one obvious thing - in the sample you are not initializing VehicleList - are you getting a null object exception? if not, what is the exception you are getting?
-
Q1: "You can add items to an ItemsControl by adding items to the Items property or by binding the ItemsSource property to a data collection. You can add objects of different types to Items. If ItemsSource is not null (Nothing in Visual Basic), the items in the items property are read-only. You cannot add an object or change the objects in the ...
-
check out Nikhil Kothari's series on MVVM starting here: http://www.nikhilk.net/ViewModel-Pattern-DLR.aspx
he has just updated the FX library too
-
hey Navi,
in the code-gen file GetSalariedEmployee() will be renamed to GetSalariedEmployeeQuery - so try using that with the DomainDataSource
-
try to reduce the number of variables., maybe the issue will become clearer. if i were you i'd try removing everything from the codebehind and focus on the DomainDataSource control.
- Remove everything from the codebehind
- Set the QueryName to GetPropertyListsQuery and AutoLoad to true.
- Leave the DomainDataSource.DomainContext as ...
-
Umm... there is <dataForm:DataForm>
<dataForm:DataForm.Template>
<ControlTemplate TargetType="dataForm:DataForm">
....
</ControlTemplate>
</dataForm:DataForm.Template>
</dataForm:DataForm>
In order to make 'incremental' changes to the existing ...
-
you need to specify DefaultStyleKey, so, in the constructor of each button, do something like this:
DefaultStyleKey = typeof(Button1);
otherwise the buttons will always use the default style of Button
-
sorry, i didn't see you were animating the property...you are right, RowDefinition .Height is a GridLength not a double so you couldn't animate it with a DoubleAnimation.
there are a few things you can do:
1. check out http://programmerpayback.com/2008/11/08/animate-collapsing-a-grid-column-or-row-in-silverlight/ - this works best ...
-
1. in your xaml, trying renaming QueryName="GetPropertyLists" to QueryName="GetPropertyListsQuery"
2. fire up fiddler and see what the request looks like, and what the response is. Fiddler is the best way to debug these things