Custom list definitions with custom forms – changing master page
Read OriginalThis article addresses a common issue when creating custom list definitions with custom forms in SharePoint, specifically changing the master page for DispForm.aspx. It explains the error that occurs when directly modifying the MasterPageFile attribute and provides a workaround using server-side script injection to dynamically change the master page without triggering the 'file not allowed' error. The solution involves keeping the default master page reference and adding code beneath the Page directive. The tip is credited to MVP Eric Schupps.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet