O'Reilly logo

Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint by Carl Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Customizing the list item output

We can customize how the list item output looks and increase the font size by creating a custom control template. Out of the box, the announcement list does not have a customized mobile view. Even if it did, we would be able to override it with our own. Customizing a control template is fairly easy. Control templates are aspx files that live in the SharePoint root. We will use Visual Studio to create custom control templates.

Creating a project for our custom template

The first thing we need to do is create a project that will contain our custom control. Carry out the following steps to create a project:

  1. Open Visual Studio 2010 as Administrator by right clicking on the icon and selecting Run as administrator on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required