<title>Test</title> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> @{Html.RenderPartial("Style");} <link href="@Url.Content(GetCss())" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="System.Configuration.ConfigurationManager.AppSettings["AutoHeightScriptURL"].ToString()"></script> <script type="text/javascript"> window.onload = function (e) { AutoSizeObject.load('wrapper'); }; </script>
@{Html.RenderPartial("Style");}
<script type="text/javascript" src="System.Configuration.ConfigurationManager.AppSettings["AutoHeightScriptURL"].ToString()"></script>
AutoHeightScriptURL
appSettings
web.config
AppSettings["AutoHeightScriptURL"]
string
.ToString()
NullReferenceException
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)