Questions tagged [selectionchanged]

263 questions
-1
votes
1 answer

Virtualization and SelectionChanged event

I am using SelectionChanged event of ListBox, but it "doesn't work". Here is repro: public partial class MainWindow : Window { readonly List _items = new List { new Item(), ... // add 20 more, to have selected…
Sinatr
  • 20,892
  • 15
  • 90
  • 319
-1
votes
1 answer

selectionchange with concatenated columns in data grid

hey guys need your help TEXTBOX VALUES brand | model | description A | B | C BRAND AND MODEL ARE CONCATENATED as Equipment Equipment | description A B | C with selectionchange, what do i need to do in order to separate…
-1
votes
1 answer

C# - WPF - Access TextBox inside of a listview?

I have a listview with three columns, When I select a listview item, how can I access the TextBox of the selected item? In my case I would like to focus the TextBox "textQuantity" when I select an item.
Clint Eastwood
  • 165
  • 3
  • 10
-1
votes
1 answer

Why wrong route is called for a different controller when this.form.submit() is called on a select_tag :onchange event

I setting a up a select_tag called 'dir_list' to use form submit on change to call a method. This method 'file_dir', will generate a list of files based on the selection from dir_list and the render a partial to display a second list box showing the…
-1
votes
1 answer

WPF ComboBox - Get Newly SelectedItem

In WPF, with the JComboBox and having a SelectionChanged="myComboBox_SelectionChanged" field in the xaml, how do you get the string for the newly selected item? The code below shows the string for the previously selected item. private void…
Evorlor
  • 7,263
  • 17
  • 70
  • 141
-1
votes
1 answer

Change LongListSelector's SelectedItem's ItemTemplate

I'm new to Windows Phone and writing an application that uses LongListSelector with group to display data. What I can't implement is, I'm trying to change LongListSelector's ItemTemplate from code by selecting an item of LLS. I tried lots of things…
-1
votes
2 answers

C# WPF ListView of Comboboxes; inform user about SelectionChanged of one of the Comboboxes

Thanks for all help in advance! I have a listview that shows the user a List of ComboBoxes, in which he can choose different units. It looks similar to this:
AP_TheMoe
  • 111
  • 3
-2
votes
1 answer

How can I changed the style of acell?

I use the cell selection changed event to set style of the cell in rad grid view. the problem is that the changing is not consistent.for example by selecting entire row the previously changed cells is lost! how can I solve this problem?
1 2 3
17
18