在母版页中导入外部表 [英] Importing An External Table In The Master Page

查看:44
本文介绍了在母版页中导入外部表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小的HTML表格,我粘贴到我所有网站集的母版页中(包括我们的版权,帮助台链接等)。有没有办法将此表存储为另一个网站集上的网页,然后在我的所有其他网站集的每个主
页面上引用该页面?

I have a small HTML table that I paste into the master page of all my site collections (it includes our copyright, help desk link, etc). Is there a way to store this table as a web page on another site collection, then reference that page on every master page for all my other site collections?

基本上,我我试图找到一种方法来集中这个表,所以我只需要在一个地方编辑版权(和其他信息);而不是数百个网站集。

Basically, I'm trying to find a way to centralize this table so I only have to edit the copyright (and other information) in one location; rather than hundreds of site collections.

除了HTML / XML之外的其他任何东西都是绿色的。我尝试了一个#include标签,但似乎无法找到该文件。

I'm green on anything other than HTML/XML. I tried a #include tag, but can't seem to get it to find the file.

推荐答案

嗨琼斯 - 克里斯,

Hi Jones-Chris,

有两种方法可供选择要求,检查一下是否可行:

There are two methods for your requirement, check if it’s feasible for you:

1。在母版页中使用iFrame引用您的HTML文件。

1. Reference your HTML file using iFrame in your Master Page.

2。创建自定义ASP.NET控件,然后调用该控件中的HTML文件。

2. Create custom ASP.NET controls and then call the HTML files within that control.

以下是类似的帖子供您参考:

Here is the similar post for your reference:

https://social.msdn.microsoft.com/Forums/en-US/59771b9a-8033-423b-b7d0-3ead324edb7c/reference-external-file-html-in-sharepoint-master-page?forum=sharepointdevelopmentprevious

祝你好运,

Grace Wang

Grace Wang


这篇关于在母版页中导入外部表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆