Hello,
I want to trigger the ColumnSizeChange-Event, to Save the Column-Widhts. But the Event will not be fired, when I resize a column.
Other events like rowchange will be fired.
Can somebody help me?
Thx
In the IntializeLayout Event of the Grid you can add the ClientSideEventHandler:
tdgbGrid.DisplayLayout.ClientSideEvents.AfterColumnSizeChangeHandler = "AfterColumnSizeChange";
Then you have to add the JavaScript Function "AfterColumnSizeChange" in your JavaScript-Code Section.
Hope it helps
Bruno
How do you add the client side event handler?
Thanks!
I got it, thx for your Input!
Do you have a sample of a client-side event implemention??
When I try to add a Client-Side Event (AfterColumnSizeChangeHandler) I get a Error-Message (Failre to add Script block to page).