This question is locked. New answers and comments are not allowed.
Hello.
I'm using MVC grid and it works great, but I need to customize the alert (confirmation window) that appears when pressing the delete button in Ajax edit mode. I'm not talking about just the message, I would like to use products like
jAlert
or
Custom alert using jScript and the dom
I've tried this, seen on another post in this forum:
But the grid always shows it's own alert, so I'm showing two windows instead of one. Another solution would be to use Telerik Window control, but I guess the problem would be the same: the grid control will show it's own alert.
Is there a way to change this, customize the alert or just to avoid the grid control to shows the window so I'll be able to show mine?
Thank you very much.
I'm using MVC grid and it works great, but I need to customize the alert (confirmation window) that appears when pressing the delete button in Ajax edit mode. I'm not talking about just the message, I would like to use products like
jAlert
or
Custom alert using jScript and the dom
I've tried this, seen on another post in this forum:
function replaceConfirmation(e) { var grid = $(this).data('tGrid'); $(this).find('.t-grid-delete').click(function (e) { var tr = $(this).closest('tr'); //grid.localization.deleteConfirmation = 'Delete row #' + tr.index() + '?'; jAlert('This is a custom alert box', 'Alert Dialog'); }); } But the grid always shows it's own alert, so I'm showing two windows instead of one. Another solution would be to use Telerik Window control, but I guess the problem would be the same: the grid control will show it's own alert.
Is there a way to change this, customize the alert or just to avoid the grid control to shows the window so I'll be able to show mine?
Thank you very much.