Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPContentType.EditFormTemplateName Property

Windows SharePoint Services 3

Gets or sets the name of a custom Edit form template to use for items assigned this content type.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Public Property EditFormTemplateName As String
Dim instance As SPContentType
Dim value As String

value = instance.EditFormTemplateName

instance.EditFormTemplateName = value

Property Value

Type: System.String
Returns String.

Form templates are .asmx controls that render the central section of a Windows SharePoint Services Web page. That is, the form template renders everything except the Windows SharePoint Services frame elements (what is usually termed the chrome) on the page. Windows SharePoint Services renders the framing elements for the page.

The form template name you specify must be the name of a rendering template found within an .ascx file located on the front-end Web server at the following location:

Program files\common files\microsoft shared\web server extensions\12\template\controltemplates

For more information, see FormTemplates Schema Overview.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.