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

Toolbar title is not coming as expected

Thread ID:





129469 Mar 20,2017 05:54 PM UTC Mar 21,2017 06:52 AM UTC ASP.NET MVC 1
Tags: Grid
Asked On March 20, 2017 05:55 PM UTC

Hi Team,

Below is my Grid code and in which when  I move the mouse pointer on to the toolbar action button, then title coming as  "TemplateID" value, not "Text" value.

                          .Datasource(ds => ds.URL(@Url.Action("GetAllUserForGrid", "UserManagement")).Adaptor(AdaptorType.UrlAdaptor))
                          .ToolbarSettings(toolbar =>
                               toolbar.ShowToolbar().CustomToolbarItems(new List
                                      new CustomToolbarItem {TemplateID = "#AddTemplate", Text = "Add"},
                                      new CustomToolbarItem {TemplateID = "#EditTemplate", Text = "Update"},
                                      new CustomToolbarItem {TemplateID = "#DeleteTemplate", Text = "Delete"},
                                      new CustomToolbarItem {TemplateID = "#refreshTemplate", Text = "Refresh"},
                                      new CustomToolbarItem {TemplateID = "#pwdChangedTemplate"}
                          .EditSettings(edit => { edit.AllowEditOnDblClick(false); })
                          .ClientSideEvents(evt =>
                          .Columns(col =>
                              col.Field(p => p.Id).Visible(false).IsPrimaryKey(true).Add();
                              //col.Field(p => p.ProfileUrl).HeaderText("User Image").TextAlign(TextAlign.Left).AllowSorting(true).Template("#profile_coloumnTemplate").Add();
                              col.Field(p => p.FirstName).HeaderText("First Name").TextAlign(TextAlign.Left).Add();
                              col.Field(p => p.LastName).HeaderText("Last Name").TextAlign(TextAlign.Left).Add();
                              col.Field(p => p.Email).HeaderText("Email").TextAlign(TextAlign.Left).Add();
                              col.Field(p => p.AddressLine01).HeaderText("Address Line 01").TextAlign(TextAlign.Left).AllowSorting(false).Add();
                              col.Field(p => p.AddressLine02).HeaderText("Address Line 02").TextAlign(TextAlign.Left).AllowSorting(false).Add();
                              col.Field(p => p.City).HeaderText("City").TextAlign(TextAlign.Left).AllowSorting(false).Add();
                              col.Field(p => p.MobileNumber).HeaderText("Mobile Number").TextAlign(TextAlign.Left).Add();
                              col.Field(p => p.HomePhoneNumber).HeaderText("Home Phone Number").TextAlign(TextAlign.Left).AllowSorting().Add();
                             // col.Field(p => p.BirthOfDateDisplayName).HeaderText("Birth of Date").TextAlign(TextAlign.Left).Format("{0:MM/dd/yyyy}").AllowSorting(false).Add();
                              col.Field(p => p.IsActive).HeaderText("Is Active").Template("#IsActiveTemplate").TextAlign(TextAlign.Left).Add();

I am using 15.0 Version.


Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On March 21, 2017 06:52 AM UTC

Hi Dushmantha,  
Thanks for contacting Syncfusion Support.  
We have already discussed about this problem in the following KB. Refer this KB and overcome the reported problems.  
Seeni Sakthi Kumar S. 


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