开发者

sharepoint2010 : javascript in Sharepoint 2010 using visual studio 2010

Can we use javascript in 开发者_Go百科sharepoint 2010 web part using visual studio 2010?


Yes, See Creating a Web Part with Client-side Script

http://msdn.microsoft.com/en-us/library/dd584169(v=office.11).aspx


You can utilize JavaScript in your web parts just as you would HTML or CSS. As for it's location, a common place to store these files is in the Style Library. You would then create a reference to the JavaScript file in your masterpage or page layout (depending on your needs) where it would be available at runtime.

I would recommend using SharePoint Designer for managing and versioning these style-related files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜