基于 C# 的 JQuery 函数框架

发布于 2024-11-27 13:27:30 字数 305 浏览 0 评论 0原文

是否有任何基于 C# 的框架应用程序,开发人员可以轻松地在表示层添加 jquery 函数并立即生效?如果没有,那么任何人都可以提出有关以下要求的任何想法:

我将在 ASP.NET 中构建大型下拉控件,该控件应该像可定制的行为一样构建。意味着如果我团队中的任何开发人员想要更改外观和效果以及效果,那么他应该能够从引用的库中仅复制所需的 jquery 函数。这可能吗?在这种情况下我需要冠军的指导。任何建议都是值得赞赏的......如果我的担忧在某个地方是错误的......你们可以要求框架周围的许可。我认为这个框架对所有 c# + jquery 开发人员都有帮助......不是吗?

Is there any C# based framework application where easily developers can add jquery functions and get immediate effect accordingly in presentation layer ? if no then can anybody suggest any idea regarding the following req:

I am going to build the the mega drop down control in asp.net which should be build like customizable behavior. means if any developer in my team wants to change the look and feel as well as effects then he should able to copy only required jquery function from referenced library. Is this possible? I need the champs guidance in this scenario. Any suggestions would be appreciable... If my concern is wrong somewhere ...you guys can ask for clearance around the framework. I think this framework will helpful for all c# + jquery developers...isn't it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

滥情稳全场 2024-12-04 13:27:30

虽然jQuery是客户端语言,服务器端使用C#,但是为了易用性,jQuery已经与.NET集成,以便从服务器端更容易使用。

DotNetAge 是这些框架之一。尽管如此,我自己并没有获得很好的体验。您可以在 http:// /www.dotnetage.com/sites/home/dj-jquery-web-contorls-for-asp-net.html

另外,如果您使用 ASP.NET MVC,您最好自己编写客户端代码(实际上,这也更容易)。

Although jQuery is a client-side language and C# is used in server-side, But for ease of use, jQuery has been integrated with .NET to be used more easily from the server-side.

DotNetAge is one of these frameworks. altrhough, I haven't had a good experience with it myself. You can find more info at http://www.dotnetage.com/sites/home/dj-jquery-web-contorls-for-asp-net.html.

Plus, if you're using ASP.NET MVC, you'd be better off to do the client-side code yourself (Acutally, it's easier too).

她说她爱他 2024-12-04 13:27:30

所有著名的控件创建者(例如

  • Infragistics
  • Telerik)

都提供基于 jQuery 的控件,只需在这里查看 http://www.infragistics.com/dotnet/netadvantage/jquery-controls.aspx 或此处的 ASP.NET MVC http://www.telerik.com/products/aspnet-mvc.aspx

干杯

All of the famous control creators such as

  • Infragistics
  • Telerik

Are offering jQuery based Controls just have a look here http://www.infragistics.com/dotnet/netadvantage/jquery-controls.aspx or for ASP.NET MVC here http://www.telerik.com/products/aspnet-mvc.aspx

Cheers

旧人九事 2024-12-04 13:27:30

好的,

当您要构建控件本身时,您应该考虑将所需的所有内容放入 ASP.NET WebControl 中。包括所需的 JavaScript。

因此,开发人员只需将 ASP.NET 控件放在他的页面上,一切就可以正常工作了。当然,仅将 jQuery 函数放入页面中也可以,但这不是您通常进行 ASP.NET 开发的方式。

当您构建前面提到的 ASP.NET WebControl 时,您必须确保可以在页面上多次放置相同的控件。在许多情况下,您在设计 JS 时必须考虑这一点。

我希望这就是您正在寻找的

Okay,

when you're going to build a control itself, you should consider to put everything you need into an ASP.NET WebControl. Including the JavaScript which is required.

So the developer only have to put the ASP.NET Control on his page and everything works fine. Sure, putting just a jQuery function into the page is fine too, but it isn't the way you normally do ASP.NET Development.

When you're building an ASP.NET WebControl as mentioned earlier you have to ensure that it's possible to put the same control more than once on a page. In many situations you have to thnik about that while designing your JS.

I hope that's what you're lookin for

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文