Sponsored Ad

Friday, October 30, 2009

Customizing SharePoint Web Parts

Software developers have the flexibility to generate custom Web Parts to achieve sophisticated custom functionality in SharePoint Portal Server. Generally this is used to generate custom functionality common for an organization or project level. There is several properties available by default in SharePoint Portal Server to customize the Web. Alternatively, software developers can generate their own custom properties to achieve  additional customization at the site of appearance & behavior.

Properties

The Web Part base class provides a default set of properties that allows users to change the appearance and behavior. These properties are in the default Web property pages contain some basic properties and customization, such as height, width, state framesets and more (as illustrated below).

A custom property is a property that a software developer creates when it is necessary to introduce additional functionality or behavior on the Internet that is not covered by the base class.





/ / /
/ / Form available / default properties of the template
/ / /
[Browsable (true), Category ( "Miscellaneous")
DefaultValue (defaultText)
WebPartStorage (Storage.Personal)
FriendlyName ( "Text"), Description ( "Text Property")]
publicstring Text
(
get
(
return text;
)
set
(
text = value;
)
)

0 comments:

Post a Comment

Sponsored Ad



Website Updates