or
Hi,
I have a requirement to make RadApplicationMenu to open only by mouse right-click. How can I prevent mouse left button click and 'Enter' key pressing?
Thank you in advance.
private void Event_SelectionChanged(object sender, EventArgs e) { GridViewCellInfo[] cells = (from GridViewCellInfo entry in this.SelectedCells where entry.ColumnInfo.Index < CurveContentGridView.FIRST_DATACOLUMN_INDEX || entry.RowInfo.Index == -1 select entry).ToArray(); for (int i = 0; i < cells.Length; i++) { cells[i].IsSelected = false; } }1) I have a routine that changes a regular GridViewTextBoxColumn to a GridViewCheckBoxColumn. Because in the previous grid, you couldn't just change the type of the column, I had to record the column index, remove it, create a new GVCBC and set the index of it. The index property is no longer settable.
2) I have a method that lets me programatically set the selected row. I used to say SelectedRows.Clear() and then Rows[x].Selected = true; Now the Clear() method is missing from the SelectedRows collection.
Thanks in advance,
Lars Solberg
