The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [databinding]

Data binding is the process that establishes a connection between the application UI (User Interface) and business logic.

Filter by
Sorted by
Tagged with
1
vote
1answer
60 views

Extension to BindingList<T> that allows for cancelable notifications of changing and deleting

This is an extension of the System.ComponentModel.BindingList<T> class that allows for notifications of item changing and deleting. These notifications ...
1
vote
1answer
240 views

MVVMLight Toolkit Data Binding Technique

I'm simulating my real-world application by using a really simple demo app here, but it has the same concept. The question is MVVM Light Toolkit specific, as the ...
5
votes
1answer
194 views

Accessing View from ViewModel

Having a view (grid control) that provides some functionallity via methods (primary SerializeView / DeserializeView) that should be called from the view model which is bound to the view. One point to ...
1
vote
0answers
50 views

Class to handle complex form using Angular ReactiveForms

I'm working with the ReactiveForms in Angular5 and trying to find a good way to do this. So, in my use case, I have a FormGroup inside my example.component.ts and when I need to add some FormControl ...
1
vote
0answers
856 views

Autosave reactive forms

I'm building an autosave for a data driven form on Angular. Here is our code snippet: ...
4
votes
1answer
182 views

Two-way data binding

Why reinvent the wheel? I personally like to implement all of my JS from scratch, I try to stay away from using the likes of jQuery or any external sources/libraries/frameworks as much as possible. ...
3
votes
1answer
219 views

Databinding entire objects between child Vue components and the root Vue instance

I have a form in which I am collecting data from two applicants. In order to minimize HTML duplication I built an applicant Vue component that generates each applicant from a template. Each ...
2
votes
1answer
85 views

Setting value of controller controls for domain objects with Reflection

Is my use of Java Reflection an OK design? Each domain object contains an annotation to declare what controller would be initialized to edit/create the object: Each field of the domain object has ...
6
votes
1answer
109 views

Returning BindingList<T>

I came to work at a place not really understanding data binding. I have been working with it for about a year now, and I'd like to get some clarification on what is going on. Particularly, I'd like ...
1
vote
1answer
826 views

Winforms tools for selection of items using ComboBox - binding datasource

This is mi UserControl containing ComboBox and few buttons for selecting and manipulating collection of items which implement simple interface IHasHeader (just ...
2
votes
1answer
3k views

WPF: Model to View Model data binding to implement Two Step View

I am trying to use Two Step View pattern in WPF. The problem is about keeping things in sync – I need a way to data-bind models to view models. Are there any good existing solutions? My approach is to ...
0
votes
1answer
94 views

Data binding with keydown

I want to create a JS MVVM framework for learning and personal project. jsFiddle HTML: ...
3
votes
2answers
2k views

Show list of states depending on user selection

I have some data that needs to bind to my view depending on the user selection. Example: changing the list of states in a dropdown depending on the selected country. My understanding is, there are ...
4
votes
1answer
7k views

WPF DateTimePicker user control

I've created a UserControl that should act as a control inside a Window: XAML: ...
6
votes
2answers
1k views

Binding Lists of Commits to a DataGridView in Winforms with an MVP architecture

I'm using Winforms and I find this pattern showing up in my code a lot. It works, but I'm unsure if it's best. The goal is to pass an IList of items through a view ...
3
votes
1answer
4k views

Binding a DataGridView to a List

I'm new to Databinding in MVP and I want to bind my DataGridView to a object list. This grid may be populated in two ways. There are TextBoxes in the form and users can enter text, and when they ...