I'm rebuilding a project semi-manaully from a version where my datagrid was executing some column formatting perfectly. (long story shortened...semi-manually means moving to a different project/directory and having to deal with the change in object names and some pasting of old code to new files).
Everything is working execpt the call to the grid's ItemDataBound event.
The datagrid is instantiated with:
Protected WithEvents dgScores As System.Web.UI.WebControls.DataGrid
I'm filling the datagrid with:
dgScores.DataSource = DsMyScores1
The ItemDataBound is defined as:
Private Sub dgScores_ItemDataBound(ByVal sender As System.Object, ByVal e As System.Web.UI.WebControls.DataGridItemEventArgs)
I put a breakpoint on the above function call but it's never reached.
In the course of rebuilding this stuff the definition of the dataset itself is using slightly different names/ids but the data _is_ making it into the grid....it's only the formatting that's not executing.