"No Records to Display" text and pagination text Not Localized

2 posts, 0 answers
  1. Varun
    Varun avatar
    4 posts
    Member since:
    Jan 2016

    Posted 05 Feb Link to this post

    Hey..

     We are using you Radeditor in our application with localization. But we see that there are 2 places where localizations are not handled:-

    1. Click on hyperlink manager and then click on button next to URL then click on image selector and notice pagination text at bottom.

    2. Click on hyperlink manager and then click on button next to URL click on documents. If there is no content in the folder it shows ""No Records to Display" in all languages. 

    We need both these things localized. Please help me how to proceed.

     

    Thanks in advance,

  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 09 Feb Link to this post

    H Varun,

    The "No records string" on another side is not localized as it can be configured through the API of the FileExplorer control used for listing files and folders in the Editor's Document Manager.

    The empty message of the Grid can be controlled through its NoMasterRecordsText property like follows:
    RadFileExplorer1.Grid.MasterTableView.NoMasterRecordsText = "There are no files in this folder.";

    The Page and Items strings in the pager of the file list  can be localized through the "Common_GridPagerText" item in the Editor.Dialogs.rescx localization file.

    Optionally, you can also modify it directly through RadFileExplorer (I am giving you the default value of the string):
    RadFileExplorer1.Localization.SetString("GridPagerText", "{4} Page <strong>{0}</strong> of <strong>{1}</strong>. Items <strong>{2}</strong> to <strong>{3}</strong> of <strong>{5}</strong>");

    In order to apply the above described configuration(s) you will need to modify the External dialogs of the Editor following the approach described here. The dialog holding the RadFileExplorer's declaration is named FileBrowser.ascx.

    As both of the suggested configurations has to be made on the server, you may find useful information on how to add server-side logic to the Editor's dialogs in the following KB article:
    http://www.telerik.com/support/kb/aspnet-ajax/details/displaying-single-upload-control-in-the-filebrowser-upload-manager

    Regards,
    Vessy
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top