All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
public
class
ContextFactory
{
static
DataContext GetContextPerRequest()
HttpContext httpContext = HttpContext.Current;
if
(httpContext ==
null
)
return
new
DataContext();
}
else
String key = httpContext.GetHashCode().ToString(
"x"
) + Thread.CurrentContext.ContextID.ToString();
DataContext context =
;
context =
context = (DataContext)httpContext.Items[key];
(context ==
httpContext.Items[key] = context;
context;