Apr 05, 2016, 1:17 PM
Hello,
I have just isolated the error that I am receiving… in the Ext.Net.ResourceManager class in the GetBeforeInitScript, the
I have just isolated the error that I am receiving… in the Ext.Net.ResourceManager class in the GetBeforeInitScript, the
HttpContext.Current
is null. I am guessing that it may be a threading issue and am trying to find out what the root cause of this is. public static string GetBeforeInitScript(bool clear = false)
{
string result = ((StringBuilder)(HttpContext.Current.Items[ResourceManager.BEFOREINITSCRIPT] ?? new StringBuilder())).ToString();
if (clear)
{
HttpContext.Current.Items[ResourceManager.BEFOREINITSCRIPT] = null;
}
return result;
}
Thanks for your help,