Home Unanswered Active Tags New Question

How to change button label on the confirm popup.

Hello All

While deleting record I am showing confirm popup box. it has a message 'Do you really want to delete this record'
and two buttons ok and Cancel. I want to change these buttons to Yes and No respectivly.
i am using following code.
EventDeleteJavaScript="if (confirm('Do you really want to delete this record')) dpc1.eventDeleteCallBack(e);"

so please tell me how to do that?

Thanks in advance

Harshad

Asked by harshad.jadhav@kalpadrum.com 10 months ago.
Replies

The confirm() dialog is provided by the browser and it's not possible to change the buttons.

Answer posted by Dan Letecky [DayPilot] 10 months ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java