GridView Loosing formatting on postback.

I have used the griview_RowCreated event to change the backcolor of some rows based on data.  However when I select a row its posts back  I loose this formatting.  I have enableviewstate = true.
What do I have to do preserve the formatting of these rows.
Who is Participating?
mmarinovConnect With a Mentor Commented:
Have you tried to change the format in the RowDatabound instead of rowcreated?

All Courses

From novice to tech pro — start learning today.