I have a requierement to supply the customer with a non standard form for a custom list. On a sharepoint 2010 platform.
In order to solve this problem i have developed a custom list which uses a contenttype that has the Inherits Attribute set to FALSE. And i use a custom renderingtemplate to replate the standard listform template that sharepoint provides. The purpose of this code is to be able to modify how the fieldcontrols in the render method of the list field iterator are presented. All of this logic is working fine, but having overridden the render method, the standard file attachment functionality in sharepoint is no longer working.
When i replace the custom code in my render method override, and simply call base.render. The attachment functionality seems to work just fine, but when i do my custom handling of fields and not call base.render. The attachment functionality no longer works. This has led me to believe that there are fields/ markup being rendered when calling base.render that i am missing in my code.
I am at a loss here and would be very grateful for any help regarding this issue.
With regards Stefan Johansson