FYI:
When I binded the data back to the grid on load, the event fired. Doesn't
make sense though, because when you add static columns
to the grid in Html, you don't have to do that. What this means is that if
you create the columns dynamically in code, you have to rebind the grid in
order to get the sort event, then figure out how to sort your data, and then
rebind once again. Two binds in one postback.
Either I'm missing something, or this is bad design on MS's part.
> All-
>
[quoted text clipped - 11 lines]
>
> Any help would be great. Thanks
Jos - 26 Nov 2003 12:15 GMT
> FYI:
>
[quoted text clipped - 6 lines]
>
> Either I'm missing something, or this is bad design on MS's part.
This is correct. In order to get postback from controls that are created
dynamically, you need to recreate them at postback.
Then you can handle the postback event and rebuild your page once again.
I wouldn't say it's bad design, because it's not easy to handle events from
controls that don't exist anymore.

Signature
Jos