What should you do?

You create a Web Part named WP1.

You need to ensure that the name of the Web Part displays as Corporate in SharePoint.

What should you do?

You create a Web Part named WP1.

You need to ensure that the name of the Web Part displays as Corporate in SharePoint.

What should you do?

A.
Rename WP1.webpart as Corporate.webpart.

B.
In WP1.webpart, change the Title property to Corporate.

C.
In the constructor of WP1.cs, add the following line of code:
Page.Title=”Corporate”;

D.
In the Elements.xml file, change the Name property of the <File> element to Corporate.

Explanation:
MNEMONIC RULE: “Title property to Corporate”

Web Parts Control Description Files
http://msdn.microsoft.com/en-us/library/ms227561.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *