0
我想在启动时在我的全局应用程序类中添加一个脚本管理器,以便可以使用工具箱等登录。但是,当我将Global.Asax文件添加到我的项目时,它不允许我使用scriptManager 。 Global.asax文件的顶部看起来是这样的:无法配置Global.Asax
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
namespace WebApplication3
{
public class Global : System.Web.HttpApplication
{
protected void Application_Start(object sender, EventArgs e)
{
这感觉不对,应该是不会说Language="C#"
等?
有人知道发生了什么,或知道任何其他方式来加载我的脚本,所以我没有得到WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
错误?
是的,我做到了,但它只是觉得糟糕的编码。但是,如果它没有任何区别,那么生病就是这样:) –