I created a html table rows and columns dynamically in c# and then appended to table in asp.net.
I have 5 rows and 4 columns in a table and an hyperlink in a cell4.
When I click each link which is in cell 4, it highlights that row, which is exactly I want but when I click row 2 hyperlink the first row backround color turns off and it shows just 2nd row highlighted.
I wanted to keep the rows highlighted when I click(cell 4 hyperlink) as many as rows i want.
Is there any way to keep the tablerows highlighted dynamically in c#?
d developerPosted Jun 5, 2015, 1:04 PM
Najjaf ShujaPosted Jun 5, 2015, 2:54 AM
Upendra Pratap ShahiPosted Jun 5, 2015, 2:05 AM
Praveen DhatrikaPosted Jun 5, 2015, 12:07 AM
d developerPosted Jun 4, 2015, 3:05 PM
ramya bharathPosted Jun 3, 2015, 10:52 PM
In that case you can changevthe style of selected riw column 4 onvevery selection. You can create a selection cgange event for it and change the style of the cell