0 out of 2 rated this helpful - Rate this topic

PAGETYPE Enumeration

Specifies the type of a form.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableTypeAttribute(Name = "PageType")]
[SubsetCallableTypeAttribute]
public enum PAGETYPE
Member name Description
PAGE_INVALID Not used. Value= -1.
PAGE_DEFAULTVIEW Default view. Value=0.
PAGE_NORMALVIEW Normal view. Value=1.
PAGE_DIALOGVIEW File dialog box view. Value=2.
PAGE_VIEW View, including both default view and normal view. Value=3.
PAGE_DISPLAYFORM Display form for list items. Value=4.
PAGE_DISPLAYFORMDIALOG Display form for a file dialog box. Value=5.
PAGE_EDITFORM Edit form for list items. Value=6.
PAGE_EDITFORMDIALOG Edit form for a file dialog box. Value=7.
PAGE_NEWFORM New form for list items. Value=8.
PAGE_NEWFORMDIALOG New form for a file dialog box. Value=9.
PAGE_SOLUTIONFORM Solution form. Value=10.
PAGE_MAXITEMS Not used. Value=11.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Not available in Sandbox solutions
At the time of writing, this enumeration causes my sandboxed web part to crash. Using just the number works fine.