Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
Client-side InitializeRowHandler Does Not Fire
posted

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?

Parents
  • 45049
    Verified Answer
    posted

    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.

Reply Children
No Data