This is a migrated thread and some comments may be shown as answers.

MVC Grid Demo

0 Answers 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew
Top achievements
Rank 1
Matthew asked on 17 Sep 2010, 11:54 AM
If I goto http://demos.telerik.com/aspnet-mvc/grid/clientsideevents in Firefox 3.6.9 or Chrome 6.0.472.55 I get strange behavior with this demo.  In IE 8, I can click on the "Edit" button and the row is not highlighted.  Row selection only occurs if you click on the row, not on a button in a row.  In Chrome and Firefox, when you click on "Edit" the row is highlighted.  When you click "Cancel" or "Edit" on another row, the row you just clicked "Edit" will still be highlighted, and the current row that you clicked "Edit" will now be highlighted.  This can keep going on till all your rows are highlighted.  If you reclick "Edit" on a previous row that you've "Edit", then it'll toggle the row highlight off.

I have two questions:
1) How do I get the row to not be stuck highlighted in Firefox and Chrome?

2) How do I get IE, Chrome, and Firefox to highlight the row that you click the "Edit" button on without having it be stuck on?  I like the behavior that a row should be highlighted whether you click on the row, or click on a button in the row, I just don't want it to stay on when I click the next row or the next row's button.
Tags
General Discussions
Asked by
Matthew
Top achievements
Rank 1
Share this question
or