This project has moved and is read-only. For the latest updates, please go here.

Installtion for All List/Libraries

Sep 13, 2011 at 1:37 PM


I have developed Custom rendering template for SharePoint 2010.I am overriding ListFieldIterator to customize the Editform.aspx, Dispform.aspx and newForm.aspx.

However I am not able to set SPField on the List as ReadOnly. I thin this utility would work but it says I need to modify the aspx forms, But All the Aspx fomrs (Edit,new,disp) are generated for each list individually.

How can I make it to be used for all list and Libraries?


Sep 13, 2011 at 4:10 PM


You're right about editing the aspx forms individually. Most of the time, SPUtility.js is used to customize just one list. I'm not exactly sure how you would apply the customization to ALL lists / libraries. Maybe you could use a custom masterpage that would check for the EditForm or NewForm pages and then include the relevant JavaScript?