Questions tagged [two-way-binding]
351 questions
0
votes
2 answers
WPF, two-way binding to a hash table doesn't update the source object
I am wondering if anyone can help, I am able to bind to a hash table and display values correctly, yet the two-way binding I have specified doesn't update the object when I make changes.
…
suiva
0
votes
1 answer
TwoWay Binding of a ComboBox to a static property in .NET 4.5
Well, i just posted this question, but i figured that i am not doing anything wrong. My code (and the code of all of the answers) is correct, but my dev-maschine runs with .NET4.5 which apparently has a problem with the binding of the combobox...
So…

Martin Booka Weser
- 3,192
- 5
- 28
- 41
0
votes
1 answer
ComboBox Silverlight 5 auto search not working when using the TwoWay "Binding"
The ComboBox seems to face a problem when the data binding happen. The auto text search is not working. Need help here. Do not know what the actual problem is or if I missed out something.

Kanagaraju Raju
- 1
- 1
0
votes
1 answer
wpf binding list, listbox and control twoway
Is there any way to update listbox items text after updating it in textboxes? I wanna do it only with bindings if it is possible. Listbox is reading from list, but list isn't updating so it's never gonna change, unless I add new item to list. Here…

lisek
- 267
- 4
- 16
-1
votes
1 answer
Double linked immutable objects (C# records)
I want to create two-way linked objects (parent with child, where Parent.Child property refers to the parent's child, and Child.Parent refers to the child's parent).
From what I see, this would only be possible with C# records if I use reflection,…

KHRZ
- 35
- 5
-1
votes
1 answer
How to bind combobox with static list of string and update the property value by selection
Update:
I successfully enable to update property by change value in the textbox. But for the combobox I am still confused. I update the code so that might help to illustrate my confusion.
class viewModelObj:INotifyPropertyChanged
{
…

BabyHai
- 89
- 1
- 9
-1
votes
1 answer
two way binding angular Problem [(ngModel)]
I am showing my problem by giving a link to YouTube video:
Admin panel is the backend and the home page is the frontend
https://www.youtube.com/watch?v=6m882slecYA
Full source code for Front-end code:
You can find the source code for…

DeltaDev
- 9
- 1
-1
votes
1 answer
Trying to access DataContext class from code-behind
I'm following this question on how to access your DataContext class from code-behind. Implemeting it the way it says doiesn't work for me (apparently I'm doing something wrong).
What I'm trying to do:
I have a button that is trying to read a Text…

miguello
- 544
- 5
- 15
-1
votes
1 answer
Change dynamic nested json values
this is my Json :
{
"name": "table",
raw_material: {
"iron": 2,
"wood": 1,
"glue": 1
}
}
Sometimes, it is different:
{
"name": "table",
raw_material: {
"iron": 2,
"plastic": 1,
…

test1500
- 65
- 1
- 11
-1
votes
2 answers
Why twoway binding doen't work as expected?
I need some help with binding. Twoway mode doesn't work at all.
I fill my window with data passed to the constructor and it's working fine.
The problem is that I can't rewrite some data imputed in the window control even if I use Twoway…

Wep4ik
- 27
- 6
-1
votes
1 answer
C# How do I create a (two way) databinding to Parent Elements WITHOUT XAML
I'm trying to make a list of my PropertyEntry class (user control), which gets generated for each Property of a Person Class. Sadly most of the guides in the internet only tell you how to create a Binding by XAML files, but I need a solution that…

Erik B.
- 87
- 7
-1
votes
1 answer
Two-way data binding using custom attributes on a Switch component using MVVM Android
I'm trying to create a two-way data binding on a Switch component, using MVVM and LiveData, but I always receive a
error: cannot find symbol
on DataBinderMapperImpl.java, and also i have:
A failure occurred while executing…

Barros
- 84
- 1
- 6
-1
votes
2 answers
How can bind angular material auto complete data in component
I am working on Project . Using angular material auto-complete.Its working accurately.My problem is that i want to bind data while i select specific data from list but i don't know how to bind it.
i tried [(ngModel)] but all in vain
.html…

Malik Rizwan
- 123
- 2
- 14
-1
votes
1 answer
x:Bind TwoWayBinding not working on Textblock
I am trying to make the two way binding work on Textblock with compilation binding x:Bind
Problem:
Even though setting TwoWay bind mode and PropertyChanged source trigger. Can not get it to work. When the object property balance changed in code…

Morse
- 8,258
- 7
- 39
- 64
-1
votes
1 answer
model changed in child directive effective in template not in parent directive link function with two way binding
Hello Folks : I have two directive , the second one is included in the template of the first one with two way binding
app.directive('A', function() {
return {
template : '{{ value}}

user2626210
- 115
- 5
- 13