Tuesday, June 21, 2011

Displaying custom properties in the property Pane

Displaying custom properties in the property Pane

After you've imported your sample Web Part into a Web Part Page, you can display the property pane to view or change their values. A custom property will be displayed automatically in the default property pane if the property is of type string, bool, int or enum. The following table describes how each of these property types is displayed in the property pane.



Property Type-------- Displayed in property pane as

bool--------> Check box
DateTime --------> Text box
enum --------> Dropdown
int --------> Text box
string --------> Text box



To display or change the values of custom properties  



  • On the Web Part menu, click Modify This Web Part.

  • Expand the Custom Properties section of the property pane.



http://www.sharemuch.com/2009/07/21/dropdownlist-in-sharepoint-webpart-properties/


http://bilbrobloggins.com/sharepoint/dropdown-list-box-filter-web-part-in-sharepoint-ndash-part-three/

0 comments: