http://forums.asp.net/t/1226181.aspx?Reading+from+web+config+
function ReadConfigurationSettings() {
var wt = '<%=ConfigurationManager.AppSettings("DocPreviewWaitTimeInMilliseconds").ToString() %>'
if (!isNaN(parseInt(wt))) {
return parseInt(wt);
}
else {//defaul to 1 sec.
return 1000;
}
}
No comments:
Post a Comment