16.01.2013 Views

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

Microsoft Sharepoint Products and Technologies Resource Kit eBook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 31: Working with Web Parts 825<br />

a “behind the scenes” Web Part that feeds data to other Web Parts via Web Part<br />

connections. A similar concept exists with ASP.NET custom controls, where a<br />

control can be present on a page but not be displayed.<br />

■ Direction. Specifies the direction of the reading order of the text in the Web<br />

Part: left to right, right to left, or default. When set to default, the text direction<br />

is determined by the language settings.<br />

■ Zone. Specifies the zone to which this Web Part belongs.<br />

■ Part Order. Specifies the location of the Web Part within the zone. The value<br />

for this property is an integer greater than zero. For example, a value of two<br />

means that the Web Part is second from the top if the orientation of the Web<br />

Parts within a zone is laid out top to bottom.<br />

Because static Web Parts are not placed within zones, the Visible on Page,<br />

Zone, <strong>and</strong> Part Order properties are ignored. Also, static Web Parts do not have the<br />

ID property, which is set by the Web Part infrastructure when you include a dynamic<br />

Web Part on your Web Part. This allows for the retrieval of the Web Part from the<br />

content database.<br />

Advanced Properties<br />

The Advanced Properties section contains the following shared properties, <strong>and</strong><br />

therefore the Advanced Properties section is visible only in Shared View. These<br />

properties can be customized if the zone in which the Web Part is placed allows<br />

this.<br />

■ Allow Minimize. Specifies whether a Web Part can be minimized by the<br />

user at run time within the browser. If the check box next to this property is<br />

not set (False), the Minimize option will not be available on the Web Part’s<br />

drop-down menu <strong>and</strong> the Frame State property option buttons will be disabled<br />

or not visible, depending on whether you are in Shared View or Personal View.<br />

■ Allow Close. Specifies whether a Web Part can be closed—that is, removed<br />

from the page <strong>and</strong> moved into the Web Part Page gallery by the user at run<br />

time within the browser. When this property is set to False, the Close option<br />

will not appear on the Web Part’s drop-down menu. Galleries will be discussed<br />

later in this chapter.<br />

■ Allow Zone Change. Specifies whether the Web Part can be moved to a different<br />

zone by the user at run time within the browser. When this property is set<br />

to False, you cannot drag the Web Part to another zone, but you are still able to<br />

close the Web Part. When you add the Web Part back to the page from the Web<br />

Part Page gallery, you can only place it in the zone from which it originated.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!