
Hello I got this problem yesterday at work, and i worked few extra hours to solve it and I couldn't, please read the following scenario.
1-a radgrid with multiselection rows set to "false", a button to modify and another to add data to the grid, all(2 buttons and the radgrid) exist in the same UpdatePanel(the classical one),
2-the user will select a row,press the modify button, a rad window will open(using radwindow and radwindowmanager
(note: i tried to place the rad windowmanager is outside and inside the update panel , and i also tried to remove the whole updatepanel)
3- radwindow property to postback the parent page after closing it is set to "true". when the user saves his changes using the save button in the radWindow, the changes is saved successfully. and for more insuring; after the modification done successfully and before closing the rad grid, the parent page is forced to be refreshed using JavaScript, the same function that is used in telerik forum.
so the parent page is refreshed twice , one after the modifications is completed, and another after closing the radwindow.
the problem is after the rad window is closed, the radgrid selected index change event doesn't always fire when selecting a row and if it does, an out of index exception is fired because the count of the selected rows is Zero !! so the event is fired , but no row is selected inside the code.
and another question. isn't there any direct way to know the selected index immediately when multirow selection is set to "false".?
I can't understand is this bug or feature:
I can select row by clicking on check box cell with Shift button pushing, but can't unselect row by clicking on check box with pushing Shift button.
Bug (feature) raise under IE only.
Steps:
1) Open http://demos.telerik.com/aspnet-ajax/grid/examples/client/selecting/defaultcs.aspx (Second grid)
2) Select rows by clicking on checkbox with Shift button
3) Try to unselect row by clicking on check box wit a Shift
4) Result: row is selected , but check box checkbox is unchecked
My actual version RadControls for ASP.NET AJAX Q2 2009 SP1, but this behaviour is the same in latest release