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

Dialog editor, change "Details of" field

Thread ID:





118712 Apr 2,2015 06:38 AM UTC Apr 10,2015 03:20 PM UTC ASP.NET Web Forms 3
Tags: Grid
Paul Yanzick
Asked On April 2, 2015 06:38 AM UTC


I am using the grid to show a list of countries... I have a CountryID field and a CountryDescription field.  The CountryID field is currently set as the primary in the grid, but it is a hidden field.  CountryDescription has been set as an identity.

Currently, if I edit an item in the grid, it works fine.  What I am having issues with however is that it says "Details of<CountryID>" where <CountryID> is the ID, used to associate to the database.  I would like to have it say "Details of <CountryDescription>" instead.  If I set the CountryDescription field primary, it does so, but then it becomes uneditable.  

Any suggestions for this are appreciated!


Gowthami V [Syncfusion]
Replied On April 6, 2015 11:11 AM UTC

Hi Paul,

Thanks for using Syncfusion products.

Based on your requirement we have created a sample and the same can be downloaded from the following link.

Sample Link: Sample.zip

In the above sample we have changed the title of the dialog using “title” property of the ejDialog in the ActionComplete event of the grid as follows.

<ej:Grid ID="EmployeesGrid" runat="server" AllowPaging="true" >

<ClientSideEvents ActionComplete="complete"></ClientSideEvents>


<script type="text/javascript">

function complete(args) {

if (args.requestType == "beginedit") {

var currentRow = args.model.currentViewData[args.rowIndex];

$("#EmployeesGrid_dialogEdit").ejDialog({ title: "Details of " + currentRow.ShipCountryDesc });



Please try the above snippet and let us know if you have any queries.

Gowthami V.

Paul Yanzick
Replied On April 9, 2015 02:59 PM UTC

Hello, that worked great.. thank you!

Gowthami V [Syncfusion]
Replied On April 10, 2015 03:20 PM UTC

Hi Paul,

Thanks for your update.

Please get back to us if you need further assistance. We will happy to assist you.

Gowthami V.


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