Archive for November, 2009
Building A SPGridView Control – Part 3: Adding a Context Menu using the SPMenuField
0 Comments Published November 24th, 2009 in Programming, SharePointPrevious parts: Part 1: Introducing the SPGridView Part 2: Filtering Intermezzo: TemplateFields and the RowCommand Event In this part of the series we’ll be adding a context menu to our SPGridView using the SPMenuField control. Using the MenuField can be a bit tricky the first time round since there are a lot of properties involved. […]
Using Telerik WebAii to Test File Upload Validation
0 Comments Published November 19th, 2009 in ProgrammingOn my current project I am naturally using Unit Testing as much as possible. The application is an ASP.Net web application so I was limited to testing the business logic only. Or so I thought.
When developing custom WebParts and UserControls for SharePoint you often need to access Lists and their content. There is a number of ways to retrieve a List (or more specifically, a SPList instance). For example, if you know the List’s ID (which is a Guid) you can do the following:
Recent Comments