If you have a templated column in this kind of grid, you cannot create columns for the grid only on page not postback, because the grid does not instantiate your custom template column (using ITemplate) on postback.
The only way to fix this is to create the columns afresh on every page load on the server.
This is when you create columns for the grid in C#
No comments:
Post a Comment