Change gridview cell back color without postback
-
Hi, my need is very simple, but I'm not able to discover a solution. My gridview has a fixed number of rows and columns and I'd like to change a cell background color when the user click on the cell, without postback. I appreciate any help. Thanks.
Michele
-
Hi, my need is very simple, but I'm not able to discover a solution. My gridview has a fixed number of rows and columns and I'd like to change a cell background color when the user click on the cell, without postback. I appreciate any help. Thanks.
Michele
Hello Michele, You can use javascript to serve your purpose. Take a look at solution in following link: how-to-change-the-gridview-row-colors-in-onclick-event-in-javascript[^] Change the GridView row color on click without postback[^]
Thanks & Regards, Vani Kulkarni
-
Hello Michele, You can use javascript to serve your purpose. Take a look at solution in following link: how-to-change-the-gridview-row-colors-in-onclick-event-in-javascript[^] Change the GridView row color on click without postback[^]
Thanks & Regards, Vani Kulkarni