Questions tagged as 'binding'

1
answer

Binding the Value of a ComboBox

My problem is that I am trying to bind between a ComboBox and a property type string in viewModel, but I can not do it <ComboBox HorizontalAlignment="Stretch" SelectedItem="{Binding Path=OResultado, Mode=TwoWay}">...
asked by 14.01.2016 / 01:39
1
answer

Angular2 @Input does not reflect changes to the parent component

Good, I have a parent component with a list, when selecting the selected element is passed to the child component (a form) defined with the decorator @ input . The problem When I modify some property in the form, it replicates the change i...
asked by 02.03.2017 / 02:21
2
answers

Problem with navigation using MVVM in Xamarin

I want to navigate using the MVVM pattern in Xamarin.Forms, for that I offer a command to a certain image as seen in the image ... the code of this view is linked to the MainViewModel and to a property called MenuSisquim located inside...
asked by 25.09.2018 / 02:48
3
answers

Create a ModelBinder for KeyValuePairTKey, TValue

The default ModelBinder of ASP.NET MVC is not able to bind the data with variables of type KeyValuePair. This is due to the way it has to link the complex types: first it creates a new instance of the object through a constructor without argumen...
asked by 12.05.2016 / 12:52
1
answer

R: Error in bind_rows_ (x, .id), Argument 111 when combining dataframes

I am using R version 3.4.3. I have two data.frames of different sizes with some common columns and others not. I want to combine both data frames keeping the different columns so that NAs appear in the part of the data frame where that column wa...
asked by 04.04.2018 / 10:53
2
answers

Register a ModelBinderProvider with Autofac in ASP.NET MVC

For an ASP.NET MVC5 application I have created a ModelBinderProvider for a certain type of data. If I add the new ModelBinderProvider to the BinderProviders collection in the Global.asax it works perfectly. ModelBinderProviders.BinderProvid...
asked by 13.05.2016 / 09:35
1
answer

treeview binded in wpf disable nodes

I have a treeview that is binded to a class: The problem is that I want to add a property that if they have the treeviewitem, to activate or deactivate parts of the tree, but when bindear a class of its own, I do not know how to add that prop...
asked by 06.09.2017 / 19:33
1
answer

Link several checkboxes with ng-model

I request your help because I have not managed to bind between several checkboxes and the data. I have tried it in several ways and this has been my result: HTML <label ng-repeat="teams in teams" class="checkbox-inline"> <input...
asked by 29.09.2016 / 19:59
3
answers

Do not update property in BBDD from Controller

I need to show in a View (Web form) a property of the Data Model that comes from a DB and that after performing the Submit, the Controller's action does not perform the Update on those fields in the DB but with the rest of properties of the Mode...
asked by 11.05.2016 / 12:08
0
answers

Serialize a class to xml after it passes the binding validation in wpf c #

I have a project in WPF with a configuration file in XML I have made a ViewModel class that is Binded to MainWindow.xaml, and I have done one validator using IDataErrorInfo and classes with the ValidationRule interface. What I want is that...
asked by 14.10.2016 / 12:21