Hi all, I am reading from web.config a value on onbeforeunload in a master page
<body onbeforeunload="Window_OnBeforeUnload();" style="left:0; top:0; right:0; bottom:0">
web.config <appSettings>
<
add key="PathLogout" value="http://10.1.5.29/CID/Logout.aspx"></add>
</
appSettings>
In the javascript i trying to read PathLogOut using
var MyVar = '<%=AppSettings:PathLogout%>';
iam getting this error
Compiler Error Message: BC30451: Name 'AppSettings' is not declared.
Any Ideas and thanks in advance