Everything SharePoint and XAML

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

Archive for November, 2009

Links (11/29/2009)

Posted by Steve Pietrek on November 29, 2009

SharePoint 2007

  1. Cloning The SharePoint Toolbar for Custom Web Parts
  2. InfoPath Task Forms Made Easy Part 2
  3. Interesting New Uses for SPDisplayRelatedInfo
  4. Hide menu items in list view toolbar and views in view selector
  5. Observations on SharePoint 2007’s irritating Audit
  6. New version of the U2U CAML Query Builder released (Windows edition)
  7. SharePoint 2007 Redirect Options
  8. Cascaded Master-Details lookup that just WORKS!
  9. Working with BeforeProperties and AfterProperties on SPItemEventReceiver
  10. Imtech Create Page Layout Content Type Extension
  11. How to easily justify the text in SharePoint 2007 RichHtmlField control and content editor webpart?

SharePoint 2010

  1. The new content editor WebPart in SharePoint 2010
  2. List Scale SharePoint 2010 Reality Check
  3. Creating and Customizing a SharePoint List using InfoPath 2010
  4. SharePoint 2010 Beta Release Known Issues
  5. Enable the Developer Dashboard using the Object Model / Powershell

Silverlight 3

  1. Notification of Silverlight Applications about Database State Changes
  2. The MVVM Framework Tour – This time, Silverlight styling!
  3. WCF RIA Services
  4. Writing a profiler for Silverlight applications – Part 1
  5. Customizable Loading Indicator for Silverlight 3
  6. Busy Indicator Control In Silverlight 3
  7. Silverlight Charts: Coordinates on Mousemove
  8. Handling Network Outage in Silverlight with Caliburn
  9. Multiple Silverlight controls in 1 XAP
  10. Glass Border Style Button
  11. Reading zip files from Silverlight
  12. EventToCommand + DataStateBehavior eases MVVM pain
  13. Glow Theme
  14. Silverlight MVP List on Twitter
  15. Sincorde Message Windows
  16. How to create a Module based Silverlight application (Part 1)
  17. Detecting duplicate instances of a running Silverlight application
  18. Basic Database Operations in Silverlight 3.0
  19. The Secret Behind the Page Flip Technique
  20. Going Modal In Silverlight
  21. Row Header in DataGrid in Silverlight 3
  22. Windows System Color Theme for Silverlight
  23. You only get one shot to make a first impression! (aka Silverlight Splash Screens)
  24. Slide.Show Image Gallery Control
  25. 3D Photo Gallery
  26. XAML Toolkit CTP = FxCopXaml + XamlDom + System.Xaml.dll support for Silverlight XAML
  27. SilverBullet #12 – System.Threading.SynchronizationContext
  28. Reflection Opacity Effect in Silverlight 3
  29. Application Library Caching – November 2009 Silverlight Toolkit
  30. BusyIndicator: David Poll’s ActivityControl is now in the Silverlight Toolkit November 2009 Release
  31. Walkthrough: The power of the November 2009 Silverlight Toolkit testing tools
  32. Silverlight Toolkit November 2009: Activity Control –> BusyIndicator (a.k.a. Update 3: Displaying background activity in a Silverlight RIA application)
  33. Create Business Objects using RIA Services
  34. MVVM with Prism 101 – Part 4: Modules

Silverlight 4

  1. Drag-N-Drop, Right-Click Save As – Silverlight 4
  2. Silverlight 4: How to use the all new right click context menu
  3. Local file access – Silverlight 4
  4. Silverlight 4’s Printing Support
  5. A look at the Printing API in Silverlight 4
  6. Silverlight 4’s New Drag-and-Drop Support
  7. Silverlight 4 Text Trimming
  8. Silverlight and RIA Services: Implementing Search
  9. Silverlight 4’s New Implicit Styles
  10. Silverlight 4’s Improved Element Data Binding
  11. Silverlight 4’s New Clipboard Support
  12. Silverlight 4 and building business applications (PDC09-CL19)
  13. Taking a WebCam Photo with Silverlight
  14. Silverlight 4 NotificationWindow and Queuing multiple notifications

Posted in SPLinks | Comments Off on Links (11/29/2009)

Links (11/22/2009)

Posted by Steve Pietrek on November 22, 2009

SharePoint 2007

  1. Redirect on NewForm and EditForm another method
  2. Deconstruct the SharePoint Interface
  3. Quick & Dirty SharePoint Email Templates
  4. SharePoint Noise Reduction Filter
  5. Customizing the Content Query Web Part

SharePoint 2010

  1. SharePoint 2010 Activity Feed – Enterprise Twitter
  2. Extending Visual Studio SharePoint development tools with custom Project menu options
  3. Installing SharePoint 2010 Beta on Windows 2008 Server R2
  4. Deploying a Web Part with Code Access Security in Visual Studio 2010 (SP2010)
  5. SharePoint 2010 Records Management
  6. PowerPivot Data Refresh
  7. The Search Developer Story in SharePoint 2010 – Query Interfaces

Silverlight 3

  1. MVVM and Prism Demo for PDC09 Silverlight Session
  2. From code-behind to MVVM in 90 Minutes – Jason Dolinger on MVVM
  3. A Custom Storyboard Component in Xaml
  4. Karl Shifflett’s WPF and Silverlight shared design-time code
  5. Hyperlink Text Wrap In Silverlight 3
  6. Cursors in Silverlight 3
  7. Dynamic Module Loading with Silverlight Navigation using Prism
  8. Application Library Caching – November 2009 Silverlight Toolkit
  9. BrowserFlow sample from PDC 2009
  10. amCharts Stock Chart for Silverlight
  11. Draggable Popup Window in Silverlight 3
  12. File upload control

Silverlight 4

  1. Silverlight 4 Security Overview White Paper
  2. Silverlight Bridge – A Silverlight 4 File Manager
  3. Silverlight 4 Clipboard access
  4. Silverlight 4 Fluid UI
  5. Silverlight 4 Mouse Wheel support
  6. 10 Steps to Debug Silverlight Out-of-Browser Applications without Attaching
  7. Debugging Silverlight Out-Of-Browser Applications
  8. Microsoft PDC09 and Silverlight Round-up
  9. Silverlight 4 dials in skype

Posted in SPLinks | Comments Off on Links (11/22/2009)

Links (11/19/2009)

Posted by Steve Pietrek on November 19, 2009

SharePoint 2007

  1. October 2009 Cumulative Update Packages for SharePoint Server 2007 and Windows SharePoint Services 3.0
  2. Get Smart With SharePoint Documents
  3. Improve performance of Content Query Web Parts using ViewFieldsOverride
  4. Submit Items to a SharePoint List with qRules v2.0!
  5. Preview metadata in list view on mouseover
  6. HTML Calculated Column: minor update… and some advice
  7. Update: SharePoint Color Coded Calendar – PayRoll Schedule
  8. SharePoint Customisation – OOTB vs SPD vs Custom Code
  9. How to: Programmatically set the target audience on a web part
  10. Sloooooooooooowwwwww Form – InfoPath
  11. Writing Event Handlers and deploying using Features
  12. Create a Sliding Picture Interface in SharePoint

SharePoint 2010

  1. SharePoint 2010 List View Blog Series: Part 1 – Introduction to the new List View
  2. SP2010 Branding Tip #8 – Alternate CSS can crash your site (until its fixed)
  3. SP2010 Branding Tip #9 – Turn on Anonymous Access
  4. Starter Master Pages for SharePoint 2010 (Formerly Known as Minimal Master Pages)
  5. SP2010 Development VM – Drives are running out of free space
  6. SharePoint 2010 Development Environment – Practical Tips
  7. SharePoint 2010 Visual Web Parts
  8. Making Web Services BCS Friendly – Part 1
  9. ClientAccessPolicy file in SharePoint 2010
  10. JQuery and SharePoint 2010 JavaScript Conflict
  11. InfoPath 2010 Public Beta is Here!
  12. Announcing the Outlook Social Connector
  13. Introducing the Outlook Social Connector
  14. Developing a provider for the Outlook Social Connector

Silverlight 3

  1. PDC09 – Meet the Griffs Code drop – information on Commands from the Silverlight Extensions project
  2. RIA Services: Jumpstarting RIA Development
  3. A ChildWindow management service for MVVM applications
  4. Five minute recipe for a decent BoolToVisibilityConverter
  5. Learning Prism (Composite Application Guidance for WPF & Silverlight) MVVM Fundamentals
  6. Use a WCF Service to fill a Silverlight 3 ComboBox
  7. RIA Unleashed deck
  8. New Silverlight Video Tutorial: How to use the FarseerPhysics.dll to create a Ragdoll with Simulated Physics
  9. Video of my Prism and MVVM at PDC
  10. A Brief Introduction to the Reactive Extensions for .NET, Rx
  11. Inline Hyperlinks in Silverlight 3 (Equivalent of A HREF)
  12. Calling Mailto using JavaScript
  13. Simple File Upload Solution
  14. Silverlight: Where are my colors
  15. Skin your Silverlight 3 app with Implicit Style Manager
  16. Optimizing Silverlight with Enable Redraw Regions
  17. Silverlight – Gadgets, Web Slices and more! (Part 1)
  18. Exploring Silverlight behaviors: look Ma, no code!
  19. Progressbar control in Silverlight 3.0
  20. Advanced View of a ToolTip in Silverlight 3
  21. My Model-View-ViewModel exercise

Silverlight 4

  1. **** Silverlight 4 Beta is Now Available
  2. **** Silverlight 4 Beta – A guide to the new features
  3. **** Silverlight 4 Beta is out – and the Toolkit has it covered! [Silverlight Toolkit November 2009 release now available for Silverlight 3 and 4!]
  4. Silverlight 4 Beta Announced at PDC09: Great Learning Material Too!
  5. Silverlight 4 beta released!
  6. Data Binding Changes in Silverlight 4
  7. Enabling Validation in Silverlight 4 with IDataErrorInfo
  8. Silverlight 4 Beta Offline MSDN docs (CHM) is available
  9. Silverlight 4 Beta Available
  10. New Web Services Features in Silverlight 4 Beta
  11. The NotificationWindow
  12. Silverlight 4 Rough Notes
  13. Silverlight 4: New Features Overview
  14. Silverlight 4 Implicit Styling
  15. New Silverlight 4 Book Content

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

Links (11/15/2009)

Posted by Steve Pietrek on November 15, 2009

SharePoint 2007

  1. CAMLBuilder Expressions
  2. Scrolling News Aggregator in SharePoint
  3. Hiding the New Toolbar Button in SharePoint with jQuery
  4. Coding the Excel Services Windows 7 Gadget – Part 4 – Fly-outs

SharePoint 2010

  1. Client Object Model (OM)
  2. SP+PS 2010: Custom Parameters
  3. Planning for SharePoint 2010 – Upgrade Planning Part 4 – Using preupgradecheck
  4. SharePoint 2010 List Improvements – Column Validation and List Validation Settings

Silverlight/WPF

  1. MVVM – This might hurt a little…
  2. A quick tour of existing MVVM frameworks
  3. A MVVM framework “…three hour tour…”
  4. Magellan and the MVVM Light Toolkit
  5. New Silverlight Video Tutorial: How to make a Timer Using the DispatcherTimer Class
  6. Silverlight custom control & collection properties
  7. Bing Maps with Silverlight
  8. Dan Wahlin: DevConnections Conference Code and Slides
  9. Dynamically Creating Thumbnails with WriteableBitmap and DispatcherTimer in Silverlight 3
  10. New Silverlight Video Tutorial: How to Create a Reusable Functioning Login UserControl
  11. The Secret Behind the Page Flip Technique
  12. Building a Progress Bar for your Hulu inspired SilverLight video player
  13. Adventures in MVVM — Dependant Properties with INotifyPropertyChanged
  14. The Silverlight HVP Spec
  15. Exploring new techniques for DLR Script in XAML
  16. Silverlight DataGrid: Scroll with mouse wheel…quick and dirty!
  17. Interviews at TechEd Europe 2009 – MVP Laurent Bugnion

Posted in SPLinks | Comments Off on Links (11/15/2009)

Silverlight: Avoid Caching When Using WebClient Class

Posted by Steve Pietrek on November 13, 2009

I have run into a puzzling issue the past few weeks. When using the WebClient class to retrieve SharePoint content, the content would not update when refreshing the page (F5) or refreshing the content (execute the WebClient object).

The issue was actually quite easy once I thought through what was happening. It also didn’t hurt that Fiddler only showed the initial query. Definitely a “Doh!” moment. To solve the issue, I pass another query string named “IgnoreCache” with the current date/time as the parameter.

public void FetchEvents() {
string sUrl = siteUrl + "_vti_bin/owssvr.dll?Cmd=Display&List=" + eventsListId + "&XMLDATA=TRUE&IgnoreCache=" + DateTime.Now;

WebClient sp = new WebClient();
sp.OpenReadCompleted += SpOpenReadEventsCompleted;
sp.OpenReadAsync(new Uri(sUrl));
}

More on Silverlight/SharePoint later…

Posted in Silverlight | 1 Comment »

Links (11/12/2009)

Posted by Steve Pietrek on November 12, 2009

SharePoint 2007

  1. Introduction of SPPersistedObject class
  2. A jQuery Library for SharePoint Web Services (WSS 3.0 and MOSS): Part 3 – the SPDisplayRelatedInfo Function
  3. A Free SharePoint Org Chart Web Part
  4. Add a Publishing Image Field Programmatically
  5. Unit testing SharePoint solutions using Pex
  6. SharePoint Web Part to Redirect from HTTP to HTTPS
  7. 10 DIY SharePoint Web Parts #9
  8. Vertical Bar Graph in Data View Web Part (DVWP)
  9. October 2009 Cumulative Update released!

SharePoint 2010

  1. PowerShell Intro for SharePoint Administrators – Part 1
  2. New Article: Document Management in SharePoint 2010
  3. SP2010 Branding Tip #4 – Easily show a Favicon in SharePoint 2010
  4. SP2010 Branding Tip #5 – Handling unsupported browsers
  5. SP2010 Branding Tip #6 – Mobile Browsers
  6. SP2010 Branding Tip #7 – Using Simple Rendering in SharePoint Navigation
  7. Excel Services in SharePoint 2010 REST API Examples
  8. The Scoop: SharePoint 2010 Records Management
  9. Ten Things DBAs will LOVE in SharePoint 2010 #TEE09
  10. Office 2010 & SharePoint 2010 Developer Training…for FREE!
  11. How to Display a SharePoint Dialog from Ribbon Button and Get Selected Item Context
  12. Excel Services in SharePoint 2010 Dashboard Improvements

Silverlight

  1. Two Silverlight SDKs released – Bing and Facebook
  2. Bing Maps Silverlight Control Available!
  3. Blend SketchFlow project: from prototype to real screens?
  4. MVVM frameworks galore
  5. Magellan Quickstart
  6. Magellan and the Microsoft MVVM Toolkit
  7. Silverlight Organization Chart – Part 3 – The Node
  8. Silverlight Visual Tree Visualizer
  9. Skinning and Styling Silverlight Controls
  10. Silverlight out-of-browser and initParams
  11. Charting in Silverlight
  12. Filtered TextBox in Silverlight 3
  13. Should I use Silverlight or WPF for my new Enterprise Application?
  14. Hypnotizing Silverlight Splash Screen
  15. Change Date Picker Image in Silverlight 3
  16. Tweak Theme in Silverlight 3
  17. Creating a Custom Accordion Menu in Blend
  18. Telerik XAML Controls Q3 2009 Release
  19. Silverlight LOB: Validation (#2 – Annotations and Shared Classes)
  20. Inserting Text in TextBox using Silverlight 3
  21. Element to Element Binding in Silverlight 3.0
  22. Silverlight RIA Services
  23. The future of Moonlight
  24. Writing a (Completely Useless) Windows 7 Gadget using Silverlight
  25. Prism – MVVM – Silverlight gotcha’s
  26. A Virtual Input Keyboard

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

Links (11/8/2009)

Posted by Steve Pietrek on November 8, 2009

SharePoint 2007

  1. Conditional Formatting using the Advanced Computed Field
  2. Supportability Concerns with Custom HTTP Modules in SharePoint
  3. Content Deployment – The complete Guide – Part 6 – Logging

SharePoint 2010

  1. SP2010 Branding Tip #3 – Getting your CSS to be the last to load
  2. Adding Custom Button to the SharePoint 2010 Ribbon
  3. SharePoint 2010 Lists Improvements – List Lookups and Relationships
  4. The SharePoint 2010 Developer Platform
  5. New SharePoint Server 2010 (Beta) Content
  6. Things you should know when using silverlight in SP2010

Silverlight/WPF

  1. New Video Tutorial: How to Create Custom RoutedEvents in Silverlight
  2. How to Get Your Silverlight Pages Indexed By Search Engine
  3. Silverlight 3’s New Application Extension Services
  4. Accessing Master-Detail Data through ADO.NET Data Service in a Silverlight Application (Part 2)
  5. New Silverlight Video Tutorial: How to use the Silverlight Toolkit’s WrapPanel to Create a Three Column ListBox
  6. Silverlight 3’s New {RelativeSource} Markup Extension
  7. Creating a Silverlight video player in Microsoft Expression Blend 3
  8. Implementing CoverFlow in Silverlight 3
  9. Skeleton for a Silverlight business application based on Ria Services and the Ria Services Class Library
  10. CodeFx – All in one package
  11. MVVM with Prism 101 – Part 6: Commands
  12. HyperLink Styling as Button in Silverlight 3
  13. http://silverlight.net/riaservices/ is Live!
  14. WriteableBitmap Extensions: Drawing Shapes
  15. Silverlight Wizard Control
  16. Designer v Xaml v Code
  17. Introducing Magellan
  18. All of My Video Tutorials in One Place (revisited)
  19. Subscribe to 62 Silverlight Twitter’ers.
  20. New Codeplex Silvelright Project! Silverlight StoryboardHelper

Posted in SPLinks | Comments Off on Links (11/8/2009)

Links (11/5/2009)

Posted by Steve Pietrek on November 5, 2009

SharePoint 2007

  1. JQuery For Everyone: Live LoadTip
  2. Creating mailing lists for SharePoint sites and blogs [No Code Required] – Part 5: Creating the primary and secondary workflows and connecting to outlook
  3. Write to EventLog from SharePoint Custom Solutions
  4. Project Management in SharePoint. A demo i did last month.
  5. Project Management on SharePoint – the new pmPoint release – my top 10
  6. Changing a Document in SharePoint Over HTTP Programmatically
  7. SharePoint: Hide a web part with zero rows
  8. Visualizing Information in SharePoint: Demo 04 – Three Resources
  9. Using XML Web Services in SharePoint Designer
  10. Comparing Dates in a Data View Web Part to Build a WSS KPI in SharePoint
  11. Free SharePoint Redirection WebPart – Programming SharePoint WebParts With LINQ to Active Directory – Part 1
  12. Free SharePoint Redirection WebPart – Programming SharePoint WebParts With LINQ to Active Directory – Part 2

SharePoint 2010

  1. SharePoint 2010 Developer Resources
  2. Upgrading an Existing Master Page to the SharePoint Foundation Master Page
  3. SP2010 Branding Tip #1 – Applying Custom Master Pages to _layouts Pages
  4. SP2010 Branding Tip #2 – Custom Master Pages and Dialog Boxes
  5. application.master and SharePoint Application Page Branding
  6. SharePoint 2010 Changes in Rendering
  7. SharePoint Conference 2009 Day 2
  8. SharePoint 2010 Client Object Models – The ECMAScript library
  9. Getting Started with the SharePoint Packaging Designers
  10. SharePoint Designer 2010 New Shell Tour
  11. SharePoint 2010: Professional Developer Evaluation Guide and Walkthroughs
  12. InLine List Item Editing with SharePoint 2010
  13. SharePoint 2010 – Records Management
  14. Document Management in SharePoint 2010

Silverlight

  1. Implementing CoverFlow in Silverlight 3
  2. Silverlight Toolkit on Web Platform Installer
  3. Debug Out Of Browser (OOB) Silverlight apps
  4. Update Out Of Browser (OOB) Silverlight apps
  5. Silverlight BringIntoView() extension method (with OnGotFocus behavior)
  6. Building N-Tier business applications with .NET RIA Services – Part I
  7. Grouping data in a Silverlight DataGrid
  8. Prism release for Silverlight 3.0
  9. Silverlight 3 Custom Sorting with Paging Support
  10. I Command MVVM
  11. MVVM with Prism 101 – Part 5b: ServiceLocator vs Dependency Injection
  12. VM Workshop: Model View ViewModel (MVVM) and the Presentation Model Pattern in 5 UI Platforms
  13. Thinking Outside the Box – Using Programmatic Animations in Silverlight
  14. Silverlight Communication: Three Ways to Connect
  15. Embed rich font in title
  16. Programming Silverlight with MVVM pattern using Prism
  17. Silverlight 3 – Enabling the Silverlight ‘Out of Browser’ Experience
  18. Silverlight: Creating Silverlight animations with code
  19. ZoomBoxPanel, adding full mouse support and animation to a WPF custom control: Part 3
  20. Quick tip: Snooping WPF application with elevated permissions
  21. 10 Expression Blend 3 Tutorials for Silverlight
  22. Magnifying glass effect
  23. Silver Draw – A Silverlight Based Collaboration White Board with Drawing and Chat
  24. Silverlight Organization Chart – Part 1 – Read XML file
  25. Silverlight Organization Chart – Part 2 – Calculations
  26. As the platform evolves, so do the workarounds [Better SetterValueBindingHelper makes Silverlight Setters better-er!]
  27. Silverlight From Zero
  28. Deep zooming on the fly

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

Links (11/1/2009)

Posted by Steve Pietrek on November 1, 2009

SharePoint 2007

  1. **** Manually Clearing the MOSS 2007 BLOB Cache
  2. **** How to create a really small SharePoint Calendar
  3. **** Update: Really Small SharePoint Calendar
  4. Getting Started : ASPX Association and Initiation Forms for SharePoint 2007 Workflows
  5. Constraining Tables with CSS
  6. SharePoint ALCM: A real world example
  7. 10 DIY SharePoint Web Parts #8
  8. InfoPath : Retrieve and Send Data from/to a SharePoint 2007 Workflow
  9. SharePoint and Project Server ULS Viewer Tool Released
  10. Sneak Peek: HTML Calculated Column v3
  11. SharePoint List vs. Database and Excel
  12. jQuery – List and Document Library Search Solution in SharePoint
  13. Content Editor Web Parts, Standard Personal Views, and lists don’t work together, Or “Something Sandy discovered…”

SharePoint 2010

  1. INTRO: Sandboxed Solutions in SP2010 [SharePoint 2010]
  2. SharePoint 2010 – Add Items to the Ribbon Bar
  3. SharePoint 2010 – Install Steps
  4. InfoPath 2010 Performance Highlights

Silverlight

  1. Patterns-Based Silverlight Development Blog / Screencast Series Index
  2. Patterns-Based Silverlight Development – Part I – Getting Started
  3. Patterns-Based Silverlight Development – Part II – Repository and Validation
  4. Patterns-Based Silverlight Development – Part III – Pipeline Pattern
  5. Prism and Silverlight Screencasts on Channel 9
  6. Real-time list filtering with Silverlight, MVVM, and PagedCollectionView
  7. Rant: Silverlight – You Do Not Want the Blue Ball Loading Animation
  8. Reflection Shader for Silverlight 3
  9. Legally using non-standard fonts in Silverlight and Blend
  10. Silverlight Custom Content Control with Events

Posted in SPLinks | Comments Off on Links (11/1/2009)