Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,

Please can any one help me regarding the following:

I have web-grid in which i have "EDIT","DELETE" buttons.
When i select the edit button the data is getting populated in the fields but the row selected is not getting high lighted in MVC3(Asp.net)
Posted
Comments
Karthik. A 12-Jun-12 22:17pm    
What do you mean by web-grid? Is it a 3rd party component? Some code would be helpful. With the current state of the question, I would say you can jquery to highlight the row. For ex. on a high level, if the edit button is w/in a cell, you can do something like this (not verified) $('.btnEdit').click(function(){ $(this).parent().parent().css('background-color','Green'); });

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900