Need to add the value from web config to the HTML page

  • Thread starter Thread starter Sunil A M
  • Start date Start date
S

Sunil A M

Guest
Hi

I have one settings in webconfig like below.

<appSettings>
<add key="MyAlertsPageUrl" value="Google"/>
</appSettings>

I need to access that value in my HTML page when i loads.

<p class="font">
Click <a href="????" data-targettype="webpage">here</a>
</p>

Just wanted to understand how to reference in place of ???? to get the value of "MyAlertsPageUrl" which is there in the

webconfig.

How to read it from value from webconfig to HTML page.

Regards,

Sunil

Continue reading...
 
Back
Top