jQuery 与 Sharepoint 2007
我想将 jQuery lib 与 Sharepoint 2007 应用程序一起使用。我在这里阅读这篇文章:
http ://weblogs.asp.net/jan/archive/2008/11/20/sharepoint-2007-and-jquery-1.aspx
讨论通过发布一项功能来访问 Web 部件控件,该功能将添加包含 script 标记的委托控件以加载 .js 文件。我很难理解:
a.我必须修改哪个清单文件才能包含以下内容:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Control
Id="AdditionalPageHead"
ControlSrc="~/_controltemplates/jQueryControl ascx />
</Elements>
b。到底需要做什么才能使我的所有控件驻留在 c:\program files\common files\microsoft共享\Web服务器扩展\12\template\controltemplates\myCompany\myApp 将有权访问该插件。
I would like to use the jQuery lib with a Sharepoint 2007 application. I read this article here:
http://weblogs.asp.net/jan/archive/2008/11/20/sharepoint-2007-and-jquery-1.aspx
which talks about giving access to the web part controls through publishing a feature that will add the delegate control containing the script tag to load the .js file. I am having hard time understanding:
a. Which manifest file I have to modify to include this:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Control
Id="AdditionalPageHead"
ControlSrc="~/_controltemplates/jQueryControl ascx />
</Elements>
b. What exactly needs to be done so that all of my controls residing in
c:\program files\common files\microsoft shared\web server extensions\12\template\controltemplates\myCompany\myApp
will have access to the plug in.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最终使用 codeplex 的 Sharepoint SmartTools 向 Sharepoint 注册 jquery。
Ended up using the Sharepoint SmartTools from codeplex to register jquery with Sharepoint.