Skip to main content

applying default page template to list form(NewForm.aspx,EditForm,DispForm) pages

 1.   Open a list.

2.   Copy the default.aspx page and paste in the list.

3.   Select the smart part and the list form web part’s html code in between the Zone template of the web part zone where the smart part exists in the original listform(NewForm or Edit or Display form)

4.   In the copy of the default page delete the content in between the of the top left web part zone.

5.   paste the copied contents from the original list form in between the of the web part zone

6.   Rename the original Page to NewForm1.aspx or respectively

7.   Rename the copy of the default page to respective list form name(NewForm.aspx for example).

8.   Remove all other web parts in the page Top Right, bottom right, bottom left.

9.   Copy the register tag prefix of smart part from the original list form to the new list form

<%@ Register tagprefix="SmartPart" namespace="SmartPart" assembly="ReturnOfSmartPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f4da00116c38ec5" %>

Comments

Popular posts from this blog

Ghosting and Unghosting

Ghosting means process of requesting an uncustomized page instance by using a page template loaded into memory from the file system of the front-end Web server. These Ghosted pages are pulled from the cache at runtime and therefore it will increase the scalability from the system. All uncustomized pages are reused across all the sites and there is no unnecessary data storage or retrieval. Ghosting eliminates the need to transfer the contents of a page definition file from the SQL Server computer with the content database to the front-end Web server computer For example, the default home page is a ghosted page. Any web part pages created via New Web Part Page user interface also ghosted. Unghosting means that the site has been customized. When you customize a site in SharePoint Designer, or you add custom fields to a Document Library, or create sites using that template; then the changes that you made are stored in the database as a difference and that is referred to as Unghost...