Edit Localization file not reflected in report viewer
Posted: Wed Jul 05, 2023 5:06 pm
I edited the ExportTypes in localization file but "Adobe PDF" under Save remains unchanged.
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
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>