70-573 무료 덤프문제 온라인 액세스
| 시험코드: | 70-573 |
| 시험이름: | TS: Office SharePoint Server, Application Development (available in 2010) |
| 인증사: | Microsoft |
| 무료 덤프 문항수: | 150 |
| 업로드 날짜: | 2026-05-21 |
You need to connect two Web Parts by using the IWebPartRow interface. Which method should you use?
You create a Web Part that programmatically updates the description of the current SharePoint site.
The Web Part contains the following code segment. (Line numbers are included for reference only.)
01 SPSecurity.RunWithElevatedPrivileges(delegate()
02 {
03 SPSite currSite = SPContext.Current.Site;
04 SPWeb currWeb = SPContext.Current.Web;
05 using (SPSite eSite = new SPSite(currSite.ID))
06 {
07 using (SPWeb eWeb = eSite.OpenWeb(currWeb.ID))
08 {
09 eWeb.AllowUnsafeUpdates = true;
10 currWeb.Description = "Test";
11 currWeb.Update();
12 eWeb.AllowUnsafeUpdates = false;
13 }
14 }
15 });
Users report that they receive an Access Denied error message when they use the Web Part. You need to ensure that all users can use the Web Part to update the description of the current site.
What should you do?
You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server 2007
server.
You need to ensure that WebPart1 can run as a sandboxed solution in SharePoint Server 2010.
What should you do?
You need to create a Web control that displays HTML content during the last stage of the page processing lifecycle.
Which method should you override in the Web control?