Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

4.2. SharePoint controls

You’ve seen how you can add controls to your Web Parts and, so far in this book, you’ve added standard ASP.NET web controls. You can use these controls to display content to your users or allow them to interact with your Web Part. If you need custom functionality not found in the default controls, you can create your own controls, either by creating classes or using user controls. SharePoint also contains a set of web controls and user controls that you can use to create your custom Web Parts. These controls are specifically designed to interact with SharePoint features and the SharePoint interface.

This section will guide you through some of the controls that SharePoint allows you to use. Some controls are available from within the Toolbox in Visual Studio. I’ll show you both the standard SharePoint controls available in Visual Studio and some other controls that I’ve found useful and that also have some documentation. Most of the controls in SharePoint are unfortunately not documented or not even supported for use in custom applications. Even though you can use the undocumented controls, I don’t recommend you do because they can be changed between service releases of SharePoint.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint