Edit Localization file not reflected in report viewer
Edit Localization file not reflected in report viewer
I edited the ExportTypes in localization file but "Adobe PDF" under Save remains unchanged.
-
- Posts: 6336
- Joined: Tue Mar 20, 2018 5:34 am
Re: Edit Localization file not reflected in report viewer
Hello,
Unfortunately, it is not possible to change it from localization files.
Thank you.
Unfortunately, it is not possible to change it from localization files.
Thank you.
Re: Edit Localization file not reflected in report viewer
Thank you, is there any other possible ways to update/change the Export Type Values such as "Adobe PDF", "Microsoft XPS" into "Adobe PDF file", "Microsot XPS file"
-
- Posts: 6336
- Joined: Tue Mar 20, 2018 5:34 am
Re: Edit Localization file not reflected in report viewer
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
<form id="form1" runat="server">
<cc2:StiWebViewer runat="server" ID="StiWebViewer1" CacheMode="StringCache" />
</form>
<script>
//where jsStiWebViewer1 -> "js" + viewer ID
jsStiWebViewer1.onready = function () {
debugger;
var saveMenu = jsStiWebViewer1.controls.menus.saveMenu;
if (saveMenu) {
saveMenu.items.Pdf.caption.innerText = "My Pdf Export";
saveMenu.items.Ppt2007.caption.innerText = "My Ppt Export";
//...............
}
}
</script>