2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
Sometimes you may like to handle the server side events for the custom command buttons. Solution Since we don’t have server side events support for custom command buttons, we can achieve it using the below workaround. The template feature of the grid is used to bind the custom button to the grid. ASPX
JS Render
ASPX The OnServerRecordClick event of the Grid is enabled in order to trigger the server side record click event.
JS
The button created using column template is converted to ejButton.
On the click event of the button, the recordClick of the grid is explicitly triggered and the arguments are passed explicitly to the recordClick event of the grid.
At the server side event of the recordClick, the target details and the selectedRecord details are obtained in the GridEventArgs. ASPX.CS
|
2X faster development
The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.