<%@ WebHandler Language="C#" Class="CombineScriptsHandler" %>
using System;
using System.Web;
using AjaxControlToolkit;
public class CombineScriptsHandler : IHttpHandler
{ /// /// ProcessRequest implementation outputs the combined script file /// /// name="context"> using System; using System.Web;
using AjaxControlToolkit;
public class CombineScriptsHandler : IHttpHandler
{ public void ProcessRequest(HttpContext context)
{ if (!ToolkitScriptManager.OutputCombinedScriptFile(context))
{ throw new InvalidOperationException("Combined script file output failed unexpectedly.");//error here }
}
public bool IsReusable { get { return true; }
}
}
Nilesh ShahPosted Feb 13, 2017, 8:38 AM