Book Image

Microsoft SharePoint 2010 development cookbook

By : Ed Musters
Book Image

Microsoft SharePoint 2010 development cookbook

By: Ed Musters

Overview of this book

<p>There is a heavy demand in the marketplace for SharePoint developers that you could take advantage of - if only you had the opportunity to acquire the relevant skills! But, SharePoint 2010 is a big old product with a steep learning curve &ndash; where do you begin? <br /><br />This book has been designed to take the experienced ASP.NET developer from &ldquo;beginner&rdquo; to &ldquo;professional&rdquo; SharePoint developer in the shortest amount of time. You will be productive on you very first SharePoint development assignment with the knowledge and skills that you learn here. You will have distilled the essence of the author&rsquo;s many years of training, and leading development teams in SharePoint. <br /><br />This book uncovers the most common &ldquo;pattern&rdquo; of typical SharePoint development tasks encountered in the real world and puts the topics in a logical order with detailed step-by-step recipes for you to follow. <br />The practical example given builds and flows throughout the chapters and topics. By the end of this book, you will be able to apply the concepts to the challenges ahead of you!</p>
Table of Contents (15 chapters)
Microsoft SharePoint 2010 Development Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Creating List Forms with SharePoint Designer


SharePoint is great, because all you have to do is define your list and you get all of the forms for free, such as the form to edit the list item:

This is actually a physical ASPX page. In SharePoint Designer, go to the Proposals tab (or open Proposals from the Lists and Libraries section). Under the Forms section, you will see, for example, EditForm.aspx.

But what if you wanted to have an edit form, where you were not able to edit the Title of the document? The following recipe will show you how to create an additional Edit form, and then customize it to your needs.

How to do it...

Let us create a new edit form and then customize it:

  1. From the Proposals tab, select the Forms section and click on the New button. In the Create New List Form dialog, enter a filename of EditRevised. Ensure that the Edit item form option is selected, as well as the checkbox for Set as default. Also, select the checkbox for Create link and provide a name for the Link and...