Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Sirs,

I have a problem with multiple gridviews on one page.

I use different datasources to fill the gridviews with data.
In Visual Basic I use RowDataBound to change the backgroundcolor of each cell (
VB
e.Row.Cells(0).BackColor = Drawing.Color.FromName(LTrim(RTrim(CellValue)))

)

When I click on edit in one gridview, the other gridviews loss their backgroundcolors???

Can you please help me with this strange problem?

Thanks in advance.

Dennis
Posted
Comments
[no name] 6-Mar-12 10:59am    
Are you using the same RowDataBound handler for each grid?
Dennis Huisman 6-Mar-12 11:00am    
Thank you for helping me.
I created a RowDatabound handler for each separate gridview.
Maciej Los 11-Mar-12 18:35pm    
Dennis, of you found an answer, mark your qestion as "solved".

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