I have a radGrid and a radWindow on a page. Row selection on click IS turned on for the grid. The radAjaxManager is set up so that both the radGrid and the radWindow are trigger controls, and both update themselves and the other control.
When a row is double-clicked in the grid, I open the radWindow and display the records details. If you double-click another row while the radWindow is open, the detail display changes to the new record. I also have Next and Previous buttons on the window that change the selected record in the grid (using MasterTableView.selectItem(nrow)) and update the radWindow display. That all works perfectly.
I have also set it up so that while the radWindow is open the user can single-click a row in the grid to update the radWindow display. I use the OnSelected event for this purpose (hooking the OnRowClick event interferes with the OnRowDblClick event handler). The detail display in the radWindow gets updated with the new row correctly, but the row selected by the single-click is not highlighted to indicate that it has been selected! Worse, when I click the next or previous button on the radWindow, the selected record in the grid is moved relative to the highlighted row, which was the last row double-clicked or selected by next/prev buttons, rather than relative to the row I single-clicked. It's acting as if when a row is single-clicked it is only temporarily selected. When the radWindow is closed, single-clicking seems to work perfectly.
Is this a known issue with a known work-around? How do I get the single-click to select the row, highlight it as selected, and keep it selected?
When a row is double-clicked in the grid, I open the radWindow and display the records details. If you double-click another row while the radWindow is open, the detail display changes to the new record. I also have Next and Previous buttons on the window that change the selected record in the grid (using MasterTableView.selectItem(nrow)) and update the radWindow display. That all works perfectly.
I have also set it up so that while the radWindow is open the user can single-click a row in the grid to update the radWindow display. I use the OnSelected event for this purpose (hooking the OnRowClick event interferes with the OnRowDblClick event handler). The detail display in the radWindow gets updated with the new row correctly, but the row selected by the single-click is not highlighted to indicate that it has been selected! Worse, when I click the next or previous button on the radWindow, the selected record in the grid is moved relative to the highlighted row, which was the last row double-clicked or selected by next/prev buttons, rather than relative to the row I single-clicked. It's acting as if when a row is single-clicked it is only temporarily selected. When the radWindow is closed, single-clicking seems to work perfectly.
Is this a known issue with a known work-around? How do I get the single-click to select the row, highlight it as selected, and keep it selected?