The Definitive Hello World Web Part Tutorial
Debugging Web Parts
The Road To SharePoint Web Parts
Creating A SharePoint Web Part Project
Programming With Your SharePoint Web Part
Debugging Your SharePoint Web Part
Microsoft Windows SharePoint Services の Web パーツをパッケージ化および配置する
Page Viwer Webpart - change settings programatically
In the 'webpart.cs' you can write :
// declaration of the PageViewerWebPart
protected Microsoft.SharePoint.WebPartPages.PageViewerWebPart cPreviewPageViewer = new PageViewerWebPart();
and in the RenderWebPart() method :
// link to the page you want / or use a string var of the url
string SiteUrl = ""
cPreviewPageViewer.ContentLink = SiteUrl;
// redim of the pageviewer
cPreviewPageViewer.Height = iFrameHeight.ToString();
// render
cPreviewPageViewer.RenderControl(output);
火曜日, 8月 03, 2010
登録:
コメントの投稿 (Atom)
0 件のコメント:
コメントを投稿