SharePoint create custom list forms with Visual Studio Part 2

This is the second part of my post serie. In this post serie i would like to share my experience with custom list forms in SharePoint 2010 and 2013. Normally you start a visual studio solution with a list definition and a list instance. These posts will show you step by step to add a custom list form which will work fine even with code behind.

In the last post we discovered some basics. Creating list definition and list instance and deploy it without modification. Now we are going to modificate the display form. We simple want to have a custom header in it.

Ok, that was the way like the both posts i mentioned above do the trick. It’s working now, why we would need a third part of this post serie? Well, read it or you’ll find it out some later this day 🙂 Go to Part 3

..:: I Like SharePoint ::..

The article or information provided here represents completely my own personal view & thought. It is recommended to test the content or scripts of the site in the lab, before making use in the production environment & use it completely at your own risk. The articles, scripts, suggestions or tricks published on the site are provided AS-IS with no warranties or guarantees and confers no rights.

He is Consultant for SharePoint Solutions for collaboration, communication and business processes. He provides his customers applications based on standard features as well as development or combining the power of several microsoft tools like Dynamics CRM. In his free time he tries to collect tipps and worthy experience in this blog.

8 Comments

Hi Karsten,
while you presented a working solution which would have been the only way in SharePoint 2010, there is a whole new possibility in 2013: Client Side Rendering. It’s completely driven by JavaScript and can be applied to any list – even to an already created one. It can be applied to a list’s view or to any list form. It can be applied to only one field or to the whole form or view.
Unfortunately the documentation is still very poor and it needs lots of searching to learn about it 🙁
Many greetings
Andi

Hi Andi,
you’re totally right – the client side is another approach which i didn’t cover in the post serie. But maybe i will do in future. If you find some good resources or write yourself about it, please let me know. Customizing the form of a list can be achieved with several options – as you mentioned the client side (there you can differ between the javascript or you use XSLT, with visual studio or even infopath is an option. Each option has its advantages and disadvantages, maybe we need a post about when to use which option or do you know a post which cover this subject?
Kind regards
Karsten

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

i did the same way but getting File not found error when i set it to the .
One thing here is current ly my custom page does not have any thing.it is just a plane ascx file .i hav removed all content place holder.
but error is not about the content it is not able to find the file.

Now she’s fallen. The 15 GB file upload size. File upload size In the past, the maximum size for both OneDrive (Personal) and OneDrive for Business/ SharePoint Online was limited to 15 GB. A new limit was announced at Microsoft Ignite 2019 in Orlando. 100 GB Well, the question I’m asking here A single […]