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

How do you change / access the "No records to display" text.

Thread ID:

Created:

Updated:

Platform:

Replies:

113891 Oct 15,2013 12:30 PM UTC Oct 21,2013 07:24 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
Graham Gardner
Asked On October 15, 2013 12:30 PM UTC

Is there a way of changing the default text within code in the Grid Grouping Control?

Sandhya D [Syncfusion]
Replied On October 17, 2013 12:59 PM UTC

Hi Graham,
Thanks for your insterest in syncfusion products.
Your requirement "How do you change / access the "No records to display" text " can be achieved using "Localization" by changing the text in "App_GlobalResources" in "GridGroupin.en-US.resx" file. 
[GridGroupin.en-US.resx]:
Name: EmptyRecordsText       value: There are no records in grid

We have attached sample for your reference.Please get back to us if you need further assistance.

Regards,
Sandhya.D


LocalizeGrid_5fb5980c.zip

Graham Gardner
Replied On October 18, 2013 09:53 PM UTC

The text you mentioned "There are no records in grid" is not the same that appears on my grid see attached image, and i have not changed anything.
 
NOTE: I am still using version 11.103.0.21


NoRecordsToDisplay_1158cebe.zip

Sandhya D [Syncfusion]
Replied On October 21, 2013 07:24 AM UTC

Hi Graham

Thanks for your interest in syncfusion products.

We regret for the inconvenience caused. We are unable to reproduce the issue in our end.We request you to check whether you have set Localize="en-US" in your aspx.cs and do check whether your resource file "GridGrouping.en-US.resx" is named correctly.

We have created a video demonstration,So could you please try to reproduce the issue in our sample and send us back or send your sample so that we can provide you a better solution?

[Default.aspx.cs]:
 if (!IsPostBack)
            {
                List<MyClass1> list = new List<MyClass1>();
                this.GridGroupingControl1.DataSource = list;
                this.GridGroupingControl1.TableDescriptor.Localize ="en-US";
              }

Please find the attached video below and let us know if you need further assistance.

Regards,
Sandhya D





EmptyRecord_3043d071.zip

CONFIRMATION

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.

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

;