Month: June 2006

Paging error when programmatically adding gridview.

No Picture

When adding the gridview programmatically to a webpage / composite control, you must add the gridview to the controls heirachy before databinding. If you do not, paging breaks giving the error: “ERROR: Object reference not set to an…

Read More »

Rough Notes On Web Controls

No Picture

Just to get it clear in my head, i though id write a few rough notes on creation of web controls. There are three types of web controls in ASP.NET 2.0: 1. Custom Rendered Controls These derive from…

Read More »

VSTO, VSTA notes

No Picture

VSTO – Visual Studio Tools for Office VSTA – Visual Studio Tools for Applications – similar to VBA (Visual Basic for Applications), although there is no plan yet to phase out VBA. Note that the Microsoft Trinity team…

Read More »

SharePoint 2007 – Various Notes and Ramblings

No Picture

Office 2007 is according to Microsoft the biggest office release for the next 10 years. Note that you still cannot put code behind a SharePoint page, although as with previous SharePoint releases these pages can reference existing dlls….

Read More »

Sharepoint 2007 – Warning applying root masterpage

No Picture

Warning: The selected master page has no approved version. This site may appear to be broken to users without the view versions right in the Master Page Gallery. This simply means that the master page you are trying…

Read More »

Master Pages In Sharepoint 2007 (beta 2)

No Picture

I really like master pages in asp.net 2.0 and really liked the idea of them being used / available to the end user in Sharepoint 2007. From what I initially saw, I assumed that site collections would have…

Read More »

SharePoint – Deleting all global templates via stsadm

No Picture

Deleting all global sharepoint templates has been a real pain for me – especially when I’ve had 50+ registered. There is no switch on stsadm to delete all templates – you can only delete them one-by-one. I hence…

Read More »

VS2005 Quicknote: Snippets

No Picture

To use snippets, type the relevant snippet name (e.g. “prop” which is predefined) and then press tab. The prop snippet will generate the following: private int myVar; public int MyProperty {     get { return myVar; }    …

Read More »

Summary Of New Features In SharePoint 2007

No Picture

Here is a brief outline of the new features in SharePoint 2007 – I will hopefully go into these in more detail very soon. If I have missed any, please give me a shout… Item level permissions Content…

Read More »

SharePoint 2007 Search

No Picture

Some key points… Apparently the search algorithm uses Click Distance, Anchor Text, URL Depth and an Metadata to index data. Results are grouped by social distance The search is capable of suggesting similar terms. Duplicate elimination. Can search…

Read More »