-
hello to enyone what could be the problem that i bulided my app and i tried to create a data source it comes up after the data source is created that the class XYZ is no longer avalibale
-
Thank you for the feedback. This has been discussed many times. The problem is that this change would conflict with Windows Forms behaviors, and a lot of people still use Windows Forms. Eventually I'm sure I'll make this change, but transition takes time. In the meantime there are good answers...
-
All the metastate properties (IsDirty, IsNew, etc) are marked as Browsable(false) so they aren't bindable. In Windows Forms this meant they really weren't bindable at all, so raising the event would be meaningless. In WPF/SL that doesn't appear to be the case any longer. The problem now is...
-
I am fairly new to mvvm + silverlight concepts and am running into a roadblock. I have a silverlight treecontrol bound to a viewmodel that is refreshed on the click event of a button. My problem is , if for any reason, there is a model binding error, i want to clear the treecontrol and not display anything...
-
Hi, We have Maximum Length validation rules for some properties in our business object. However what we would like to do ideally, is bind MaxLength on a textbox to this validation rule to stop invalid lengths being entered in the first place. Has anyone else tired this? Any help would be greatly appreciated...
-
There have been several earlier posts regarding binding BOs to treeview controls in Windows Forms and Web forms but we are trying to bind to Silverlight treeview using MVVM with a Csla based tree structure that is retrieved from the db. Because the number of levels of the tree (and the tree nodes) is...
-
I think you have to do it the other way around; bind the ComboBox's list items first, then bind your business object.
-
Are you sure you don't have code that's triggering the lazy load? If you bind it, it may load, possibly even if you don't display it. I'd put a breakpoint anywhere you do a LoadProperty for the collection in question.
-
This would work in most cases. In my case I need to databind to the (non-bindable) SelectedItems for both triggers. For that i'd like to use Rockys work around: csla : InvokeMethod.MethodParameter ="{ Binding ElementName =myGrid, Path =SelectedItems}" with a dependency property 'SelectedItems'...
-
Any ideas?