I am developing excel add-ins using office.js, I want to keep the different configuration settings on the web.config files and read those settings in the javascript file.
how to do that.
Use JavaScript to read the value.
<appSettings> <add key="name" value="ASPSnippets"/> </appSettings> var appValue = '<%=ConfigurationManager.AppSettings["name"] %>';
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.