We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Cells GridWeb Save Button Tool Tip

How do I change the tool tip for save button? The default text is “Save edit result” and I want to change it without creating new custom buttons.

Hi,

Well, you may do it. You can change the tool tip for the buttons/icons of the GridWeb e.g save button/icon, the procedure is a simple as a workaround. i.e.,

Create a new java script language file same like “lang_en.js” (You may also update the existing “lang_en.js” file. but this method is not recommended), the file is stored by default in the " …\Program Files\Aspose\Aspose.Cells for .NET\acw_client" folder,

Open it into notepad and edit it to save it as for your need. You may set change the tool tip for the save icon, pick the related line e.g., TipSaveButton :“Save edit result.”, to:
TipSaveButton :“Your Tool Tip Goes Here.”,

In your code you may try to set the code (e.g in the Page_Load event):

GridWeb1.ACWLanguageFileUrl = “http://localhost/Aspose.Cells.GridWeb.Demos/lang_en1.js”;


Thank you.

I followed your instructions.

I created a new copy of the lang_en.js file. I modified the line TipSaveButton :"Click here to save file to your computer.",

I set Grid's ACWLanguageFileUrl property in Page_Load

When I view the source of the web page I see this:

http://localhost/Services/Applications/EBillWorksheet.Web/lang_en.js"></script>

However, the tool tip is not changed.

Hi,

Please check the url for the .js file you specified is correct and the file is there and can be accessed fine.

Thank you.