Change the tooltip of the RadCloudUploadListItem - Close Button

4 posts, 0 answers
  1. Chloe
    Chloe avatar
    7 posts
    Member since:
    Feb 2019

    Posted 20 Feb Link to this post

    Hi,

    I'm using the CloudUpload in my application, and I was wondering if there was anyway to update the tooltip language resource of the RadCloudUploadListItem Close Button (I joined a screenshot of the tooltip I'm talking about). I wasn't able to find it in the xaml style template.

    Could someone help me with this issue?

    Thank you,

  2. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    432 posts

    Posted 25 Feb Link to this post

    Hello Chloe,

    Thank you for the attached picture.

    In general the RadCloudUploadListItem Close Button is localized, so switching the culture of the application to one of the supported cultures will change the tooltip text. 

    As an alternative approach, you can create a CustomLocalizationManager. The corresponding resource string for the tooltip text of the close button is: CloudUploadItem_Close. Here is how that would look like:
    public class CustomLocalizationManager : LocalizationManager
        {
            public override string GetStringOverride(string key)
            {
                switch (key)
                {
                    case "CloudUploadItem_Close":
                        return "Test";
     
                }
                return base.GetStringOverride(key);
            }
     
        }

    Hope this helps. 

    Regards,
    Vladimir Stoyanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. Chloe
    Chloe avatar
    7 posts
    Member since:
    Feb 2019

    Posted 16 Apr in reply to Vladimir Stoyanov Link to this post

    I'm glad to say it worked for the Close Button Tooltip. 

    Now, I'm trying to figure out the name of the corresponding resource string for the following two tooltips: 

    - "1 uploaded files"

    - "1 invalid files"

     

    Also, is there a way to quickly find the resource string name of any of the different components? 

    Thank you, 

  4. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    432 posts

    Posted 17 Apr Link to this post

    Hello Chloe,

    Thank you for the provided pictures. 

    Here is the resource key of the "invalid files" string:

    - "CloudUpload_InvalidFiles"

    As for the "uploaded files" string, currently it is not localized. I have logged a new item in our feedback portal for this: CloudUpload: ToolTip over "UploadedIcon" border is not localized. I have also updated your telerik points for bringing this to our attention.

    For future reference, the resource strings can also be found in the .resx files in the Core\Controls folder of the source code which can be downloaded from your Telerik account.

    I hope you find this helpful.

    Regards,
    Vladimir Stoyanov
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top