Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint

You're reading from   Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint Build an engaging SharePoint site with Visual Studio, Silverlight, PowerShell and Windows 7 Phone with this book and e-book

Arrow left icon
Product type Paperback
Published in Feb 2012
Publisher Packt
ISBN-13 9781849686808
Length 392 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (15) Chapters Close

Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint
Credits
About the Contributors
1. www.PacktPub.com
2. Preface
1. Understanding SharePoint Development Choices 2. Building an Engaging Community Site FREE CHAPTER 3. PowerShell Scripting Methods and Creating Custom Commands 4. Integrating Silverlight 4 with SharePoint 2010 5. Interacting with Rich Media and Animations 6. List Definitions and Content Types 7. Workflows 8. Introduction to Programming Windows Phone 7 with the SharePoint Client Services 9. Building SharePoint Pages for Windows Phone 7 10. Building a Windows Phone 7 Dashboard Application with SharePoint Data

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. 1. Open Visual Studio 2010 as Administrator by right clicking on the icon and selecting Run as administrator on the context menu.

  2. 2. Select Yes in the UAC (User Authentication Control) dialog.

  3. 3. Once Visual Studio has opened, select File | New Project.

  4. 4. In the 2010 node of the SharePoint templates, select Empty SharePoint Project.

  5. 5. Give the project...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image