防止 Infragistics 使用 ig_common
Prevent Infragistics use ig_common
我们有一个使用 Infragistics 组件的旧 ASP.NET 网络应用程序,需要一个虚拟目录“ig_common”来访问 javascript 和图像。
有没有办法防止这种行为?并且,例如,在 webapp 中导入所有 Infra 的 javascript 和图像?
对于像我们一样不能升级的人,我们从以下位置找到了这个:https://www.infragistics.com/community/forums/f/ultimate-ui-for-asp-net-web-forms/3797/ig_common-and-javascript/19780
在web.config中,在configSections中,添加:
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=x.x.xxxx.x, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
之后,添加一个部分以指示必须在何处找到图像和脚本:
<infragistics.web imageDirectory="~/images/Images" javaScriptDirectory="~/scripts"/>
希望这对其他人有帮助。
我们有一个使用 Infragistics 组件的旧 ASP.NET 网络应用程序,需要一个虚拟目录“ig_common”来访问 javascript 和图像。 有没有办法防止这种行为?并且,例如,在 webapp 中导入所有 Infra 的 javascript 和图像?
对于像我们一样不能升级的人,我们从以下位置找到了这个:https://www.infragistics.com/community/forums/f/ultimate-ui-for-asp-net-web-forms/3797/ig_common-and-javascript/19780
在web.config中,在configSections中,添加:
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=x.x.xxxx.x, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
之后,添加一个部分以指示必须在何处找到图像和脚本:
<infragistics.web imageDirectory="~/images/Images" javaScriptDirectory="~/scripts"/>
希望这对其他人有帮助。