Everything SharePoint and XAML

My continuous learning of SharePoint, XAML, Silverlight, Windows Phone 7, Windows 8, Office, VSTO, C#…

Archive for July, 2009

Links (7/30/2009)

Posted by Steve Pietrek on July 30, 2009


  1. How to troubleshoot file upload problems in SharePoint
  2. SharePoint SilverView
  3. Hiding the Site Description
  4. InfoPath – Bulk update forms in a SharePoint library
  5. Publishing Page creation bug
  6. SharePoint and CAML Resource References
  7. SharePoint Coding Practices – A Quick Overview
  8. Bad Practice #2: No Governance Plan
  9. Upgrading SharePoint Site Content Types
  10. Upgrading SharePoint Site Columns (Fields)
  11. SAF is released!
  12. Windows Live Writer for Blogging in SharePoint
  13. Learn how Web and Interactive agencies use SharePoint to light up the brand for customers, such as Kroger or Dell Financial.
  14. Display Code in SharePoint as HTML
  15. Employee Blogging Using SharePoint: Blog Central
  16. Want to prevent users from activating certain features?
  17. Your First Presentation – SharePoint or Otherwise – good advice!
  18. Screencast: RSSBus SharePoint Web Part Intro
  19. Exporting A SharePoint Site Into A Feature: Part 5 – Wrap Up


  1. SharePoint and Silverlight Links
  2. Making Silverlight 3 Application Code More Compatible with Blend
  3. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 12: DataSet
  4. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 13: The New Class Library Project
  5. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 15: ASP.NET MVC
  6. Expression Studio 3 Available to All MSDN Premium Subscribers – installed the latest version today. Looking forward to trying out all the new bits.
  7. Silverlight 3 Multi-touch: The Basics
  8. How do I enable my Silverlight 3 application to run Out of the Browser?
  9. Debugging Silverlight Applications in Out Of Browser Mode
  10. A Silverlight TagCloud, Part 2: The TagCloud
  11. Drag and Drop in Silverlight 3 Application
  12. WebClient and HttpWebRequest class
  13. Expression Blend 3 – secrets of working with data.
  14. Expression Blend 3 – secrets of working with data 2
  15. Silverlight Effects
  16. OMG, where do I start?
  17. Silverlight 3, SSL, and ClientAccessPolicy.xml
  18. 3’ on Blend 3 – #10: XML Sample Data and DataGrid
  19. Silverlight DataContext Changed Event
  20. Disable Context Menu in Silverlight 3 Application
  21. List Box in Silverlight 3 Application
  22. File Handling in Isolated Storage in SilverLight
  23. Slidentity Updated for Silverlight 3 RTW
  24. Referring to Enums (and Other Nested Types) in XAML
  25. AutoCompleteBox in Silverlight 3
  26. Data Input Controls in Silverlight 3 Application
  27. What’s New In Silverlight 3 – Navigation
  28. Splash Screen in Silverlight 3 Application
  29. The Silverlight 3 development experience, ups and downs

Posted in SPLinks | Comments Off on Links (7/30/2009)

Links (7/26/2009)

Posted by Steve Pietrek on July 26, 2009


  1. Determining Between SharePoint Site Collections and Sub-Sites
  2. Want to configure Timer Jobs?
  3. SharePoint’s Branding Limitations, Part 4
  4. Programmatically adjusting the toolbar of a ListViewWebPart
  5. jQuery to the Rescue – Default Text Based on Radio Button Click
  6. Use the LayoutsPageBase class when creating SharePoint Application Pages
  7. Clickable world map for SharePoint to navigate global office locations
  8. Using SharePoint Designer and Silverlight to embed Silverlight applications directly into your SharePoint blog posts
  9. XSLT Tip: Get Current Page URL
  10. SharePoint: Change the “Add New” message for a web part


  1. Microsoft Silverlight Financial Dashboards
  2. XBRL Frequently Asked Questions
  3. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 11: The Client-Only World
  4. Previewing Websites in Multiple Browsers with Expression Web 3’s SuperPreview
  5. Inter Silverlight Application Communication in Silverlight 3
  6. Navigation in Silverlight 3
  7. SaveFileDialog in Silverlight 3
  8. Customized TextBox Control in Silverlight 3
  9. How To Handle RightClick Mouse Event in Silverlight
  10. Expression 3 Launched – video on new features in Expression 3
  11. Blacklight v4.1 Update Released
  12. Silverlight Links

Posted in SPLinks | Comments Off on Links (7/26/2009)

Links (7/23/2009)

Posted by Steve Pietrek on July 23, 2009


  1. Web Part to view a User’s Claims
  2. SPList.RootFolder causes Dispose Problem
  3. Hello World Silverlight Web Part – Part 2 (Animations)
  4. Using IDisposables with LINQ
  5. Filtered Lookups Across Content Types
  6. SharePoint’s Branding Limitations, Part 1
  7. SharePoint’s Branding Limitations, Part 2
  8. SharePoint’s Branding Limitations, Part 3
  9. Simple LINQ to SharePoint Example that Rolls Up Announcements
  10. Image Rotator: now with hyperlinks
  11. SharePoint (WSS 3.0, MOSS 2007) and Project Server 2007 Service Pack 2 Installation Order
  12. CKS:EBE RSS Autodiscovery
  13. Cleaning Up the “1 to 5;#5#” number string from your Custom Survey Views.
  14. InfoPath: Part 1 – Starter Template
  15. Setting SharePoint Form Fields Using JavaScript
  16. SharePoint Solution Deployment Strategies – Dare I say Best Practices?
  17. Customization of SharePoint Custom List Form
  18. SharePoint Wow Factor
  19. Adding CSS links to your SharePoint pages or code…
  20. 4 Minute Screencast: Join View of SharePoint Lists
  21. SharePoint: Creating HttpHandler for user profile images


  1. Blacklight v4.0 released – and now upgraded to Silverlight 3
  2. Silverlight 3 + Expression 3 Launch
  3. FloatableWindow source on CodePlex
  4. Prism’s Plugin Architecture
  5. My new home page, enhanced [Updated collection of great Silverlight/WPF Data Visualization resources!]
  6. Silverlight 3 Bouncing plane gratuitous demo
  7. Silverlight Out of Browser deep dive
  8. CSLA .NET 3.7 released with Silverlight 3 support
  9. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 7: ADO.NET Data Services Based Data Store
  10. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 9: POCO and Authentication Provider
  11. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 10: LinqToSql
  12. SilverBullet #8 – Accessing local files
  13. A Silverlight TagCloud, Part 1: The WCF Service
  14. Silverlight Page Flip Navigation
  15. Introduction of Isolated Storage in Silverlight
  16. ToolTip Styling In Silverlight 3
  17. Printer Friendly Silverlight Datagrid Control
  18. First Sketch Flow Application in Silverlight 3: Part I
  19. Blend 3 Sketch Flow New Features – Part I
  20. Page Transition in Navigation Application in Silverlight 3
  21. {x:Type} and {x:Static} in Silverlight
  22. Circular gauge custom control for Silverlight 3
  23. What’s New In Silverlight 3 – Multi-Select List Box
  24. What’s New In Silverlight 3 – Element Binding
  25. New controls in Silverlight 3
  26. 3’ on Blend 3 – #8: SketchFlow States
  27. Using Pixel Shader Effects in Silverlight 3
  28. Silverlight 3 Navigation: Adding transitions to the Frame control
  29. Blending Images
  30. Sharing source code between .NET and Silverlight
  31. How to Wrap Text in a HyperlinkButton Control

Posted in SPLinks | Comments Off on Links (7/23/2009)

Links (7/19/2009)

Posted by Steve Pietrek on July 19, 2009


  1. **** “Open tool pane” link in Web Part for SharePoint
  2. Fishing an ItemID from a URL – the easy way
  3. Hiding Empty Content Areas in SharePoint 2007 [WCM] Publishing Sites
  4. Enabling Workflow on a non-workflow-enabled Publishing Site
  5. How to Make SPGridView To Have Same Look And Feel Of The Out Of The Box SharePoint List View
  6. SharePoint: Rotating Pictures, Random Pictures
  7. Adding Drop-Down Menu Items to SPGridView Using SPMenuField Control
  8. Validate User Base Permissions Before Uploading Document to SharePoint Document Library
  9. SPUtility.Redirect – Redirect Pages at _layouts folder, the Safest Way
  10. Retrieve Username and Password from SharePoint Single Sign-on (SSO) Provider Application
  11. InfoPath 2010 feature videos
  12. Trigger JavaScript Events When a Choice (Radio Button) SharePoint Field Type is Clicked
  13. Found a way to “Address” a SharePoint field using JavaScript
  14. Implementing Vanity URLs in SharePoint with the SharePoint URL Redirector
  15. Redirect User After Submission of New or EDIT List Form in SharePoint


  1. What’s New In Silverlight 3 – Validation
  2. What’s New In SL3 – Based-on Styles
  3. New in Silverlight 3: Perspective Transforms
  4. Day #17: Silverlight Layout Options
  5. Day # 18: Silverlight Effects
  6. Day #19: Silverlight Pixel Shader Effects
  7. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 6: Data Transfer Objects (DTOs)
  8. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 8: WCF Based Data Source
  9. Building Silverlight 2 and 3 applications with Visual Studio 2008
  10. Prism Visual Studio Templates (including MVVM)
  11. Countdown to Silverlight 3 #1: Out of Browser applications
  12. Countdown to Silverlight 3 #2: Setting styles
  13. Countdown to Silverlight 3 #4: Element binding
  14. Countdown to Silverlight 3 #5: ChildWindow (Modal, Non-modal, Templated)
  15. Countdown to Silverlight 3 #6: System colors
  16. Countdown to Silverlight 3 #7: Navigation
  17. Countdown to Silverlight 3 #8: Style inheritance
  18. Countdown to Silverlight 3 #12: ClearType font rendering
  19. Countdown to Silverlight 3 #13: Bitmap effects
  20. Countdown to Silverlight 3 #14: Selector.IsSynchronizedWithCurrentItem
  21. Countdown to Silverlight 3 #15: UI Virtualization
  22. Page navigation with values in Silverlight
  23. Installing Silverlight 3-A Quick Primer
  24. Silverlight 3: Calling a WCF service without a proxy using Binary XML
  25. A Silverlight 2 to Silverlight 3 Upgrade Checklist
  26. Start using the Silverlight object tag… Now!
  27. My First SketchFlow
  28. Plenty of Color Resource for Expression
  29. Microsoft Silverlight 3 and Expression Studio 3 have launched and there has never been a better time to jump into the RIA space. So how do you get started? Get all the juicy details here!
  30. 3’ on Blend 3 – #7: SketchFlow Composition Screens and Navigation
  31. Glimpse for Silverlight – Viewing Exceptions and Binding Errors
  32. Silverlight 3: Out-of-Browser Applications

Posted in SPLinks | Comments Off on Links (7/19/2009)

Links (7/16/2009)

Posted by Steve Pietrek on July 16, 2009


  1. SharePoint Surveys – Overview and Links
  2. Managing Lists and Libraries with Thousands or Millions of Items
  3. Item-level permissions for Document Libraries
  4. Designing anonymous application page in SharePoint
  5. 10 DIY SharePoint Web Parts #3
  6. Exporting A SharePoint Site Into A Feature: Part 3 – Exporting the Lists
  7. Understanding SchedulePicker class and using it as control
  8. SharePoint 2010 Developer Sneak Peek
  9. What’s New in InfoPath 2010?
  10. Dynamically Show/Hide Multiple Web Parts
  11. Create Charts and Graphs for SharePoint Dashboards


  1. Handy WCF Techniques
  2. Simplifying the Process of Calling a WCF Service from Silverlight (or any .NET Application)
  3. Silverlight 3: Cached Assemblies and you can to!
  4. Abstracting WCF Service Calls in Silverlight 3
  5. SilverBullet #7 – System.Windows.Messaging
  6. Breaking changes in Silverlight’s navigation framework
  7. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 3: Authentication
  8. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 4: SEO, Export to Excel and Out of Browser
  9. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 5: Astoria, Add Service Reference and WinForms
  10. Day #11: Animating Your Silverlight Application
  11. Day #12: Jumping from XAML to XAML in Silverlight
  12. Day #13: Binding Elements in Silverlight 3
  13. Day #14: Perspective 3D In Silverlight 3
  14. Day #15: Silverlight Charting
  15. Day #16: Silverlight AutoComplete TextBox
  16. Double Animation In Silverlight 3
  17. Color Animation In Silverlight 3
  18. Managed Extensibility Framework (MEF) Preview 6: V1 Feature Complete Silverlight Support and Much More!
  19. Silverlight 3 and WCF Faults
  20. Using Element to Element Binding for ToolTips in Silverlight 3
  21. Control Gauge Silverlight, versión beta1 Liberada, para siempre gratis!
  22. Threading in Silverlight
  23. HTTP requests in Silverlight
  24. Silverlight interoperability
  25. Developing a Loosely Coupled Silverlight 3 Application
  26. Animating States of Button In Blend 3
  27. File Upload from Silver Light application to server location using WCF
  28. Working with Events in the Silverlight ComboBox Control
  29. Silverlight 3 Controls Sample App
  30. Easing Function In Blend 3 In Silverlight 3
  31. Application Kick Start Steps with Silverlight 3 and Blend 3 w/Sketchflow
  32. Hunting down memory leaks in Silverlight
  33. SL Calling same domain WCF located service zero configuration

Posted in SPLinks | Comments Off on Links (7/16/2009)

Links (7/12/2009)

Posted by Steve Pietrek on July 12, 2009


  1. **** IE8 to SharePoint-‘Are you sure you want to navigate away from this page?’ – ahh, so glad there is a fix. this has been driving me mad for weeks.
  2. CompleteSharepoint.NET v2.1 Released with Bug Fixes and New Enhancements
  3. Item Level Permission for Document Libraries-BETA Release


  1. Silverlight 3 Released! What is new/changed?
  2. Biggest Surprises in Silverlight 3
  3. Silverlight 3: 7 additional application themes!
  4. Silverlight FloatableWindow update: start position and resizable
  5. Silverlight Splash Screen ala Flex
  6. Day #10: Styling Silverlight Controls
  7. Validating Properties in Silverlight Classes
  8. Business Apps Example for Silverlight 3 RTM and .NET RIA Services July Update: Part 1: Navigation Basics
  9. Silverlight 3 + .NET RIA Services July Preview
  10. Somasegar on Silverlight 3
  11. Asynchronous Execution, Animation and more in MVVM with Caliburn
  12. Using the Silverlight ComboBox Control
  13. SL Calling same domain WCF located service zero configuration
  14. 9 little new things in Expression Blend 3
  15. Building a 3-Tier App with Silverlight 3, .NET RIA Services and Azure Table Storage
  16. Silverlight 3 – Did we get support for Credentials?
  17. Silverlight Charting gets an update – and a TreeMap! [Silverlight Toolkit July 2009 release now available!]
  18. TreeMap control comes to Silverlight Toolkit
  19. Silverlight 3: Out-of-Browser Applications
  20. Overview of New Features in Expression Blend 3 + SketchFlow: Part III

Posted in SPLinks | Comments Off on Links (7/12/2009)

Links (7/9/2009)

Posted by Steve Pietrek on July 9, 2009


  1. RPO and RTO: Prerequisites for Informed SharePoint Disaster Recovery Planning
  2. Extending SharePoint: Checking if a List exists
  3. SPList.Views does not retrieve hidden views
  4. Control the RSS Feed Settings on an SPList via the API
  5. Programmatically figure out the Email address of a list
  6. No Code Solutions: MOTD and Status Messages
  7. Inconvenient Page Title element
  8. Setting SharePoint Form Fields Using JavaScript
  9. 10 DIY SharePoint Web Parts #2
  10. Cancel delete using PreDelete callout.
  11. jQuery to the Rescue – Automate All Day Event
  12. The Source parameter and the difference between GoToPage and GoToLink
  13. Managing Risks in Sharepoint 3 – Solutions and Features Deployment
  14. Programmatically Edit Content Editor Web Part
  15. Item Expiration
  16. How To Programmatically Trigger a Custom Workflow
  17. Configure Item Level Permissions for Document Libraries
  18. Creating a Line of Business Application with SharePoint and Word 2007 – Part 2: Retrieving Information from SharePoint Using the List Data Retrieval Web Service
  19. WCF Services and SharePoint: Integrating SharePoint Web Parts and WCF Services Hosted in IIS
  20. Streaming Media Web Part for SharePoint
  21. SharePoint Search box customizations
  22. Exporting A SharePoint Site Into A Feature: Part 2 – Exporting the Site


  1. Is Silverlight Ready for the Enterprise? – great post on Enterprise features in SL
  2. Silverlight FloatableWindow update: start position and resizable
  3. Want to know more about getting started with Prism in Silverlight?
  4. MVVM – Philosophy and Case Studies – Introduction
  5. MVVM via attached behaviors in Silverlight
  6. Announcing Expression Encoder 3
  7. Day #6: Silverlight and the Twitter “Hello, World”
  8. Day #7: Using WCF Web Services With Silverlight (and LINQ)
  9. Day #8: Custom Fonts in Silverlight
  10. Day #9: Using Keystrokes in Silverlight
  11. Silverlight StackPanel with VerticalGap and HorizontalGap Properties
  12. Paint Application In Silverlight 3 – Part I
  13. Paint Application in Silverlight 3 – Part II
  14. Installing the MVVM Light Toolkit V1.1.0.0
  15. SilverBullet #6 – System.Windows.EventTrigger
  16. Clickable Hyperlinks in a Silverlight TextBlock
  17. Deep Zoom Composer – Adding Links, Creating Menus, and Creating Slideshows
  18. Validating Properties in Silverlight Classes
  19. Efficient Paging In Silverlight
  20. Thierry Fierens on “Is Silverlight 3 ready for business”
  21. Trees in Silverlight
  22. IPhone Style Drag and Push Panel in Silverlight
  23. Silverlight 3 Navigation Drag and Drop Actions
  24. Creating a ComboBox Style AutoCompleteBox Control in Silverlight
  25. Taking advantage of data binding in Silverlight
  26. Build a Simple Twitter client using Silverlight 2
  27. Month UPDown Control In Silverlight 3

Posted in SPLinks | Comments Off on Links (7/9/2009)

Expand VMWare VMDK File

Posted by Steve Pietrek on July 8, 2009

I wrote earlier about expanding a VHD file. My virtual machine application preference is VMWare Workstation. As more “stuff” was added to my virtual machine in the last year, I found myself running out of space. In the past when this happened, there were two options:

  1. Use VMWare Converter
  2. Use vdiskmanager

About a year ago, I ran into issues when attempting to use vdiskmanager. You cannot extend a HDD without a 3rd party application (:) see below). Another option is to use diskpart but who can’t run diskpart on a drive which is bootable (which in my case). In any event, I ended up expanding the VMDK file using VMWare Converter 3.0.

Yesterday, when noticing I was dangerously close to running out of disk space, I decided it was time to expand again. I saw there was a new version of VMWare Converter (4.0) so I downloaded that. This morning I installed VMWare Converter and went through the steps to convert an existing VM to a new one. Everything worked fine; however, I could not find the setting to define the new disk size. I am sure I missed it but didn’t have time to search; so frustrated, I decided to use vdiskmanager. I figured I would just go ahead and purchase a 3rd party application (i.e. Partion Magic) to extend the partition.

Below are the steps I followed:

  1. Turned off virtual machine.
  2. Commit and remove all snapshots. I don’t use snapshots but I remember reading this is required previously.
  3. Back up all files.
  4. Open a command prompt and navigate to the VMWare folder (i.e. C:\Program Files\VMware\VMware Workstation).
  5. Type in the following command: vmware-vdiskmanager -x 40GB “MOSS.vmdk”
  6. The command will run. It took about 60 seconds for the command to run.
  7. Open the virtual machine. My host is Windows Server 2008. Not sure about the other operating systems but Win2k8 allows you to extend a disk volume. No need to purchase a 3rd part application.
  8. Open Control Panel and select System and Maintenance then Create and format hard disk partitions.
  9. Right-click on the disk and select “Extend Volume”. Run through the wizard.
  10. It will take approximately 60 seconds to extend the disk.
  11. Voila, new disk size.

Posted in Infrastructure | Comments Off on Expand VMWare VMDK File

Links (7/5/2009)

Posted by Steve Pietrek on July 5, 2009


  1. **** SharePoint Search-as-You-Type with jQuery
  2. How to Upload Files to SharePoint Server 2007 from ASP.NET Web Applications
  3. WebPart Development – AJAX Tab control – Tab contents not displaying
  4. SPTDD: SharePoint and Test Driven Development, Part Two
  5. SharePoint Social Computing – NewsGator Social Sites
  6. Features and Solutions with WSS Object model
  7. Reporting Services Integration in SharePoint 4 of 6
  8. 5 things you should know about SharePoint 2007 Records Center
  9. Stylish Gears: Customizing SPLongOperation
  10. Re-using SharePoint controls
  11. Show videos (Flash, Windows Media etc.) in SharePoint – another approach using JQuery and Reusable Content
  12. Great Top SharePoint Sites Website
  13. 10 DIY SharePoint Web Parts #1
  14. Time Zones in SharePoint and Date Time Stamp Format
  15. The ten commandments for SharePoint development
  16. Item Expiration
  17. Set Available PageLayouts for your Site
  18. Make your SharePoint pages pop with the Content Editor Web Part
  19. Introducing the Content Monster Web Part by Todd Baginski & Andrew Connell
  20. Check Out These SharePoint Designer Workflow Essentials Videos!
  21. Modifying SPThemes.xml Programmatically to deploy new Themes MOSS 2007 (WSS 3.0)
  22. Slides from Real SharePoint Solutions for Tough Business Times
  23. Rounded Corners on Web Part Zones
  24. JavaScript on click of Finish Button in Survey – SharePoint
  25. More jQuery demos: scrolling news, fisheye menu
  26. Save a Document Library as a Template
  27. Exporting Binary Files Inside SharePoint WebPart
  28. Changing redirection in SharePoint with HttpModule and HttpHandler
  29. MOSS Manual Navigation Links Are Static – DANGEROUS
  30. SharePoint Saturday Charlotte Session Follow-up – terrible picture of me


  1. A simple Silverlight CRUD application – Part 1: putting the R in cRud
  2. A simple Silverlight CRUD application – part 2: creating the C in CRud
  3. A simple Silverlight CRUD application – part 3: updating the U in CRUd
  4. A simple Silverlight CRUD application – part 4: doing the D in CRUD
  5. Day #1: Mouse Events in Silverlight
  6. Day #2: Silverlight Screen Transitions
  7. Day #3: Custom Silverlight Loading Screen
  8. Day #4: Communicating Between Two Silverlight Controls
  9. Day #5: Silverlight Drag and Drop
  10. 20 Most Interesting Silverlight Tutorials
  11. SilverBullet #5 – System.Windows.ApplicationServiceContext
  12. InitParams in Silverlight
  13. TUTORIAL: How To Create A SetTimeout Function In Silverlight
  14. Silverlight 2.0 Authentication Services.
  15. PopUp Control In Silverlight
  16. Spotlight On….Microsoft Silverlight
  17. Erik Mork’s Prism for Silverlight Resources
  18. New Silverlight 2 Sample on Code Gallery
  19. Handling Events within Silverlight Control Templates – AutoCompleteBox Example
  20. Creating a Sample Icon using Expression Design
  21. Adventures while building a Silverlight Enterprise application part #13
  22. Adventures while building a Silverlight Enterprise application part #14
  23. Silverlight: Reflection Image Button
  24. DataForm Control in Silverlight 3
  25. Silverlight 3 ComboBox Control
  26. Azaas demos their Silverlight 3 application
  27. RSS Widget 2 In Silverlight 3 with Data Persistence

Posted in SPLinks | Comments Off on Links (7/5/2009)