views:

206

answers:

1

Hi,

How do I programatically read a custom page field from within a webpart (from the page the webpart is on)?

Thanks

Jon

A: 

Same as you would a non-custom field type:

CustomFieldType customField = (CustomFieldType)page.ListItem["FieldName"];

Only you cast to your custom field type.

bzlm