This Knowledge base explains how to set the position for the Delete Confirm Dialog of Grid.
By default, the delete confirmation dialog will be opened to the center of the Grid height. If the Grid has large number of records in a page then the delete confirmation dialog may appear out of sight. To avoid this behavior the position of the Delete Confirm Dialog can be changed by using the dataBound event of Grid and beforeOpen event of the Dialog.
The following code example demonstrates how to set the position for the Delete Confirm Dialog of Grid.
1.Render the Grid control.
2. In the dataBound event of Grid using beforeOpen event of the Dialog we have set the position of the Dialog based on the row height and row position.
Figure 1:Adjusting the position of the delete confirmation dialog
This page will automatically be redirected to the sign-in page in 10 seconds.