In the code below, when user selects Customer in the combobox, the customer's name is displayed in a textbox. I fill the Combox box with an ObservableCollection property on my ViewModel but how do I handle the SelectedItem event in my…
I have a combo box in which I have to display the dates from a database. The user has to select a date from the combo box to proceed further, but I don't know how to make the user aware of selecting the item from the combo box first in order to…
I already search widely, but I can't find any solution to my case.
I have several ComboBox's at my project and I was searching for an AutoComplete solution, then I found a good one and applied in my project, I applied solution's style as well to all…
I have a ViewModel on top of a WPF TreeView control. I want the ViewModel to be able to set and read the SelectedItem from the TreeView. However, the SelectedItem property of the TreeView is not bindable.
I am able to set and get the selected item…
have 2 RadioButtonLists:
Are you a minor?: oYes oNo
Do you wish a joint account?: oYes oNo
If the answer to the 1st question is yes, I want to detect the response to the first question and set the answer to the 2nd question to yes using a…
I am making C# / WinForms application. The problem I couldn't solve (yet) is that when I change the SelectedItem of ComboBox programatically, it is changed until the ComboBox loses the focus, after that it "reminds" its value before assigning the…
I have two usercontrols, the first with a listbox that is bound to a list of Customers that displays some simple details for each customer.
The second user control I would like to be a more detailed view of whichever customer is selected in the…
I have a ListBox that scrolls images horizontally.
I have the following XAML I used blend to create it. It originally had a x:Key on the Style TaregetType line, MSDN said to remove it, as I was getting errors on that. Now I'm getting this…
I have 3 dropdown boxes (combo box) in asp.net environment.
They are all optional, so if a user has selected anything, i am updating database, if nothing has been selected at all, i am still updating database with null values.
I tried to do this:
…
I made a fiddle replicating my problem here: http://jsfiddle.net/U3pVM/2840/
As the title suggests, I can't set the selected value of a select populated using ng-options.
I have searched and tried all possible solutions that I found. Any help or…
I send the selected items to a specific command when the selection changes (each item is a class X)
I get them as object how can I convert it to a list?
I tried:
1. IList SelectedItemsList = obj as ObservableCollection;
2. IList …