简体   繁体   English

在 SharePoint 站点中添加已开发的 aspx 页面

[英]add already developed aspx page in SharePoint site

I have the .aspx page which is already developed in VS 2008 with its code behind.我有 .aspx 页面,它已经在 VS 2008 中开发,其代码隐藏在后面。 page name is say login.aspx.页面名称是 login.aspx。

Also have another page in same scenario after login this second page will appear.登录后在同一场景中还有另一个页面,第二个页面将出现。 ok?好?

I want to embed/ add this already developed aspx page to above team site.我想将这个已经开发的 aspx 页面嵌入/添加到上面的团队网站。

Two ways:两种方式:

  • Create a Web Part Page and add a Page Viewer Web Part创建 Web 部件页面并添加Page Viewer Web Part
  • Create a blank page and add a IFRAME using Sharepoint Designer使用 Sharepoint Designer 创建一个空白页面并添加一个 IFRAME

If the Adrian's solution is not for you.. look into SmartPart webpart.如果 Adrian 的解决方案不适合您.. 查看 SmartPart webpart。 That way you'll just turn your aspx page into a usercontrol and add it into a webpart zone and publish the page.这样,您只需将 aspx 页面转换为用户控件并将其添加到 webpart 区域并发布该页面。

或者,您可以使用 SharePoint Designer 并将其手动添加到站点,从而不使用任何 webpart 作为占位符。

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

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