简体   繁体   English

使用VS 2010使用JQuery(CDN)作为嵌入式资源创建ASP.NET复合自定义服务器控件吗?

[英]With VS 2010 create ASP.NET composite custom server control with JQuery (CDN) as embedded resource?

First time asking a question so sorry if incorrect. 第一次问一个问题,对不起,如果不正确。

After beating my head against the wall, and with no hair to pad it I am finally asking for direction. 我的头撞在墙上,没有头发可以抚摸,我终于在寻找方向。 Most books, posts and articles on what I am trying to do are at least 2 years old and don't cover VS 2010. 关于我正在尝试做的大多数书籍,帖子和文章都至少有2年的历史,并且不涉及VS 2010。

Can someone point me to a site/book/whatever that gives meaningful examples of what I have asked in the title? 有人可以指出我的网站/书籍/内容如何提供标题要求的有意义的例子吗?

I am trying to create an ASP.NET custom web control, using VS 2010 and ASP.NET, and using an embedded rousource that is a javascript file with a simple jquery routine that attaches a click event onto a checkbox. 我正在尝试使用VS 2010和ASP.NET创建一个ASP.NET自定义Web控件,并使用一个嵌入式rousource,它是一个javascript文件,带有一个简单的jquery例程,该例程将click事件附加到复选框上。

Trying it on my own all weekend I have successfullly gotten a web user control to work without having the script be embedded, but can't seem to get the references to work correctly when using a custom server control. 我在整个周末都自己尝试一下,我成功地获得了一个无需嵌入脚本即可运行的Web用户控件,但是在使用自定义服务器控件时,似乎无法使引用正常工作。

I can list the simple code but don't want to overwelm the post with code that they have seen over the years. 我可以列出简单的代码,但不想用他们多年来看到的代码来过度介绍该帖子。

Thanks for your patience, and I hope to be able to contribute more on some levels. 感谢您的耐心配合,我希望能够在某些方面做出更多贡献。

Thanks, 谢谢,

FSBarker FSBarker

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM