Application Page Ribbon & Dialogs on SharePoint 2010

One of the cool new features in SharePoint 2010 is the availability of the Office Ribbon. Using the simple XML syntax, it is quite easy to add your own Ribbon controls and tabs to existing lists, libraries, and even your own web parts. You can even add contextual ribbon tabs to web parts hosted in your own custom Application Pages.

Now it’s easy to get a “global” Ribbon by simply omitting the RegistrationId and RegistrationType attributes in the Elements.xml file. You’ll find ways of doing this in tons of blog posts all over. What is not so obvious, however, is the way to do add a Ribbon to a particular Application Page when the page does not host any Web part or user control. So here’s some help for you. I’ll also take a look at interacting with a modal dialog using the new framework in SharePoint from this ribbon.

More...


Tags: , , ,
Categories: Development | Office | SharePoint

18 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

SharePoint 2010 Install Tips on Win08R2

It’s been ages since I’ve updated this blog. So let’s start the year with some install tips for one of the most exciting products coming out this year from Microsoft – SharePoint 2010.

If’ you haven’t got it yet, head over and download the SharePoint 2010 beta. If you are planning to install it for testing on a Windows Server 2008 R2 x64 machine here are some small install tips for you that’ll take some small irritations away from installing the beta.

  1. Download the Pre-Requisites for SharePoint 2010 beforehand and install them yourself. You can get a list of direct downloads for these at http://blogs.msdn.com/opal/archive/2009/10/25/sharepoint-2010-pre-requisites-download-links.aspx
  2. Make sure you’ve promoted the machine to a Domain Controller
  3. Once the install phase of the SharePoint setup is complete, do NOT start the SharePoint 2010 Product Configuration Wizard automatically. Instead, install the very important hotfix for .NET Framework 3.5SP1. Reboot after the install.
    • In case you did start the config wizard, you’d most probably have gotten an error on Step 5 while installing services. Quit the wizard and install the hotfix above.
    • Reboot the machine and open up RegEdit and search and delete all of the following (whichever you can find)
      • HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.Search.Administration.SearchWebServiceManagerService
      • HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\ServiceProxies\Microsoft.Office.Server.Search.Administration.SearchWebServiceManagerServiceProxy
      • HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.Office.Server.Search.Administration.SearchService
      • HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Services\Microsoft.SharePoint.Search.Administration.SPSearchService
  4. Complete the install using the configuration wizard and you should be up and running with SharePoint 2010 easily enough.

Tags: , ,
Categories: Tips | Office | SharePoint

1 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed