gpt4 book ai didi

c# - 使用 NuGet 添加 jQuery UI

转载 作者:行者123 更新时间:2023-11-30 15:29:55 25 4
gpt4 key购买 nike

我正在尝试让 jQuery UI 在我的 Web Forms 4.5 C# 项目中运行。我所做的是通过 NuGet 管理器安装它,没有任何错误。但是在我的 Site.Master 中添加 ScriptReference 时,我只收到以下错误:

jquery.ui.combined is not a valid scriptname (translated from Swedish).

我添加到母版页的代码是

<asp:ScriptReference Name="jquery.ui.combined" />

据我所知,如果我想添加 jQuery UI,我应该这样做,但它不起作用。我做错了什么?

最佳答案

在 NuGet 下载页面中,搜索 AspNet.ScriptManager.jQuery.UI.Combined 包。这将安装包,您将能够将其引用为“jquery.ui.combined”

参见 this MSDN link获取稳定的 NuGet 包列表。

关于c# - 使用 NuGet 添加 jQuery UI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23006138/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com