This question is locked. New answers and comments are not allowed.
Hello,
Please help me with the following problem.
I've got a page with the toolbar and a RadGridView.
The toolbar contains a focusable element (textbox) and a button 'Add entity'.
RadGridView contains 2 sortable and editable GridViewDataColumns 'Name' and 'Type'.
Steps
- run the page.
- fill it with data
- apply sorting by 'Name'
- add a new entity by pressing the button
Result: A new entity is added, highlighted and a Name field is ready for a new value.
- enter a new name.
Everything's still OK.
- Move focus to the textbox inside the toolbar.
Result: the row with the new entity moves somewhere because of sorting and looses highlighting.
SelectedItem and SelectedCell now became null.
A note: if I don't activate sorting, the row became highlighted.
Could anyone help me understand what cleared the SelectedItem and how to restore highlighting?
Best regards, Yuriy
Please help me with the following problem.
I've got a page with the toolbar and a RadGridView.
The toolbar contains a focusable element (textbox) and a button 'Add entity'.
RadGridView contains 2 sortable and editable GridViewDataColumns 'Name' and 'Type'.
Steps
- run the page.
- fill it with data
- apply sorting by 'Name'
- add a new entity by pressing the button
Result: A new entity is added, highlighted and a Name field is ready for a new value.
- enter a new name.
Everything's still OK.
- Move focus to the textbox inside the toolbar.
Result: the row with the new entity moves somewhere because of sorting and looses highlighting.
SelectedItem and SelectedCell now became null.
A note: if I don't activate sorting, the row became highlighted.
Could anyone help me understand what cleared the SelectedItem and how to restore highlighting?
Best regards, Yuriy