We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid action confirmation message customize

Thread ID:





130114 Apr 23,2017 06:35 AM UTC Apr 24,2017 09:13 AM UTC ASP.NET MVC 1
Tags: Grid
Asked On April 23, 2017 06:35 AM UTC

How to customize confirmation message in pop-up dialog?

Jayaprakash Kamaraj [Syncfusion]
Replied On April 24, 2017 09:13 AM UTC

Hi Michal, 

Thank you for contacting Syncfusion support. 

We suspect that  you want to change the locale text for confirmation dialog. So, we suggest you to change the confirmation dialog text using below code example. 
        .Columns(col => 
            col.Field("OrderID").HeaderText("Order ID").IsPrimaryKey(true).TextAlign(TextAlign.Right).Width(75).Add(); 
            col.Field("ShipCity").HeaderText("Ship City").Width(80).Add(); 
<script type="text/javascript"> 
    ej.Grid.Locale["en-US"]["BatchSaveConfirm"] = " changed Text"; // here you change your text instead of "Are you sure you want to save changes?" 
    ej.Grid.Locale["en-US"]["BatchSaveLostChanges"] = " changed Text"; // here you change your text instead of "Unsaved changes will be lost. Are you sure you want to continue?" 
    ej.Grid.Locale["en-US"]["CancelEdit"] = " changed Text"; // here you change your text instead of "Are you sure you want to Cancel the changes?" 

Sample: http://www.syncfusion.com/downloads/support/forum/130114/ze/MvcApplication661546771287 

We have uploaded the predefined language packs for some commonly used cultures in the below GitHub location and refer to it for the corresponding culture. The culture file has localized texts for all the Syncfusion controls.



Jayaprakash K. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon