Questions tagged [selectionchanged]

263 questions
0
votes
1 answer

Silverlight ComboBox SelectionChange triggers on Form_BeginningEdit

I would like to ask how can I disable the combobox selectionchange event from triggering when I begin to edit my form. The problem here is that when I edit my form, the selectionchange also triggers which I believe causes my comboboxes to have a…
0
votes
0 answers

fill a grid with selected rows of another grid

Code is C# and the datagrid is in XAML. The problem here is that we have one grid with rows of articles. When we select a row, this row must be immediately added to a second grid. We use for this a list, which is defined on a higher level. When…
0
votes
1 answer

SelectionChanged called each time ItemsSource is define

i look for this problem in forums but i don't get an understandable answer. I have a listView (lstInterrogateur), each time i click on an item, i load data in another listview. It works fine! I have a combbox above (cboMatiere), which filter data of…
Alexking2005
  • 325
  • 1
  • 4
  • 16
0
votes
1 answer

Pivot selectionchanged refired

This problem has bugged me for 2 days now and I can't seem to solve it. I've got a Pivot to which I add PivotItems dynamicly, depending on what's selected. Im using the SelectionChanged event and within the event handler I clear & add new items. To…
0
votes
0 answers

How do i get my picture to show up to picturebox1 when i click my datagridview row in c#

I have a this program that if a user clicks a row in the datagridview: private void ListView_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { try { if (!ListView.Rows[e.RowIndex].IsNewRow) …
0
votes
1 answer

battle with two combobox events in wpf

I have two ComboBoxes in WPF. I have a bit crisis with their events. When I use the event of ComboBox1_SelectionChanged, I want to get two selectedValues, but ComboBox2 doesn't get value because there is no event How to solve this? Any…
user1358072
  • 447
  • 2
  • 12
  • 26
0
votes
4 answers

How to get DataGrid SelectionChanged trigger source component?

I have a ComboBox binded to an object that is also binded to a DataGrid. When I change the ComboBox selection or the SelectedItem in the DataGrid the event SelecionChanged at the ComboBox is triggered. Is there a way to know which component…
Guilherme Campos
  • 369
  • 7
  • 20
0
votes
1 answer

How to update DataGrid items automatically?

I have a DataGrid whose items can be edited by external ComboBoxes and TextBoxes (that is, the DataGrid SelectedItem is binded whith the same object as ComboBoxes and TextBoxes). When I edit an Item in the external TextBlock the DataGrid selected…
Guilherme Campos
  • 369
  • 7
  • 20
0
votes
1 answer

DataGridView SelectionChanged Event not firing when a new row is selected via code

I have a DataGridView with its DataSource set to a DataTable. So use this code as an example: DataTable table; table = new DataTable(); table.Columns.Add("Name", typeof(string)); table.Columns.Add("Last_Name",…
Sun
  • 4,458
  • 14
  • 66
  • 108
0
votes
1 answer

QTableView, conditional row selection in ExtendedSelection mode

I use QTableView in ExtendedSelection mode with SelectItems behavior. I would like to implement the following behavior: 1) When only one cell is selected - do nothing 2) When more than one cell is selected - select full row for each selected cell. …
Funt
  • 399
  • 8
  • 23
0
votes
1 answer

ComboBox's SelectionChanged inside datagrid not firing mvvm

I am using MvvmLight toolkit for my event interactions, i have tried many solutions available but none worked. The combo box inside my data grid's Selection Changed event is not firing Here is my xaml: i used both InvokeCommandAction and…
zeeshan
  • 55
  • 6
0
votes
0 answers

Selection Changed IsPostBack or refresh

Is there a way for a SelectionChangeEvent to get refreshed after selecting an item? I'm having trouble on my windows phone application. Here is the scenario, I have three items in my combo box, when you select an item it will navigate to a page.…
JennyJane
  • 125
  • 6
  • 21
0
votes
1 answer

how can i change a Uri via button in a SelectionChanged method in c# for windows 8 application?

I develop a game guide application with c# for windows 8. I'm trying to put 2 youtube videos in a specific chapter of the game and I want to change the Uri of the Webview via a button. when the button is not pressed the first video uri is to be…
Manos
  • 3
  • 1
0
votes
0 answers

Windows phone custom message box content events not firing

I have created a CustomMessageBox which contains a ListBox. For some reason my SelectionChanged event on the listbox (which is in the CustomMessageBox) is not firing. Any Suggestions? private void lstVehicle_SelectionChanged(object sender,…
djfranzwa
  • 54
  • 4
0
votes
1 answer

How to save AJAX data to use later?

$.ajax({ url:"/"+client, type: 'GET', dataType: 'json', success:function(data) { //On succes the data is returned from the url and used…
spod
  • 406
  • 3
  • 5
  • 19