Question about GridView Control Event handling (OnRowDataBound)

Greetings CSharp,

I'm currently trying to fire up an event on a GridView Controlled application. The 2nd row is ment to have different color scheme. For Example the Statuses Row (2) is ment to display colors based on the servarity of the status.

Good Service = Green

Severe Delays = Red

Special Service = Yellow

These are then ment to be updated in the grid. However when i populate the grid the event isn't being fired. I have made sure that the app includes the exact same event handler for the webform.

Here's the full code:

The aspx:

The asp.cs:

If anyone could point me in the right direction, I'd really appreciate it! Many Thanks Oliver

by Oli_Picard via /r/csharp

Leave a Reply