在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
1. Create a folder in the root of your MOSS web application . 2. Add this folder as a Virtual Directory to your web application using IIS. 3. Copy the .ascx files you want to use into the new folder. 4. Build your assembly and copy it to the _app_bin folder in your Web Application. 5. Add this line to your Web Application's Web.Config, within the SafeControls section <SafeControl Src="" IncludeSubFolders="True" Safe="True" AllowRemoteDesigner="True" /> 6. Add another line to your Web Application's Web.Config, within the SafeControls section, for the Assembly. (oh yeh, you gotta generate a .snk (strong name) to get the values for the PublicKeyToken=) <compilation batch="false" debug="true">
7. Add a page directive for the User Control you want to use, to your Page Layout or Master Page using SharePoint Designer. <%@ Register Tagprefix="" TagName="" src="" %> 8. Now add the control within the Master Page or Page Layout <PublishingWebControls:RichHtmlField > Done ! |
请发表评论