I am using Infragistics 6.3 for ASP.Net 1.0. I added a handler for the InitializeRowHandler client-side event -- dgFiles_InitializeRowHandler -- but it never fires after the grid is bound. All the other handlers -- InitializeLayoutHandler, ValueListSelChangeHandler, etc -- work fine, except this one (InitializeRowHandler). Should it not fire after the UltraWebGrid is bound, much the same way the server-side event -- InitializeRow -- is triggered after the grid is bound?
The client-side InitializeRow event doesn't work the same as the server-side InitializeRow event. On the client, the grid has no concept of databinding, since that happens entirely on the server. I believe that InitializeRow is raised when a row is added to the grid on the client.
You should instead use the client-side InitializeLayout event handler, and loop through the rows of the grid. All of the initialization of the grid, including of its rows, has been completed by the time the client-side InitializeLayout event occurs.
Yeah, I found that the handler got called only when adding a row client-side. I understand about looping through the rows. I wanted to avoid that, but it looks like that's the only solution. Bummer.
Thanks, anyway!