English 中文(简体)
• 如何在VS2010年与网站部分建立海关应用系统,以便共享点?
原标题:How to Create a custom Application Page with webparts for sharepoint in VS2010?

我是分享点的非常新鲜事,如果这是这样做的正确方式,但在此,我肯定不是100%。 我有一个非常光辉的主页,我想有一个定制应用页面。 在申请网页上,我想有两部分。 我愿能够在2010年5月之后建立并编辑这一应用网页,以便我能够把这一页面放在团队基础服务器上。

我试图在我的解决方案和add > new > application page上点击,但我不知道如何将其上载到我共同点的现场,并添加到主页或主页上。 如果有人能向我指明正确方向或提出更适当的设计计划,我将非常赞赏。 谢谢。

最佳回答

我得以通过几个简单的步骤来实现我所希望的。

  1. Inside sharepoint designer create a basic web parts page.
  2. In visual studio, create an application page. Add > New Item > Application page.
  3. Go back to the new web parts page you created in the sharepoint designer and copy the code and paste it into your new application page
  4. Inside your application page edit your the MasterPageFile attribute in your page declaration so the path to the master page is correct. Here is what my page declaration looks like:

现在,你开始一个可以在2010年5月和你的团队基础服务器上编辑的习惯应用网页。

问题回答




相关问题
SharePoint - Approaching Website Storage Limit Email

How can i go about changing the distribution list as well as the email text for the email that goes out to site collection admin when a site collection approaches it s size limit? Thanks for your ...

UI automated testing within SharePoint

I m looking for automated Functional Testing tools that can manipulate SharePoint sites, libraries, and documents thought the web interface. It needs to be extensible enough to handle any custom ...

Enable authorization on sitemap provider

I want to enable Authorization on the Site map provider. We have enabled anonymous access to the site and we want the Site map provider to be visible only to authorized users. I tried ...

SharePoint : web service permission error

I have a sharepoint site, and I am calling a standard sharepoint web service. I create the web service request like this : wsDws.Url = this.SiteAddress + @"/_vti_bin/Dws.asmx"; When I use ...

Sharepoint 2007 Data view Webpart custom parameters

I m sort of new to the custom parameters that can be setup on a DataView Webpart. There are 6 options: - None - Control - Cookie - Form - QueryString - Server Variable I think that None, Cookie and ...