Lookup field is a field which links a child class to a parent class, it is an association kind, which allows a list item to reference another item from another list. However, reading and writing to a lookup field is different from a normal field. We need to use the class SPFieldLookupValue to archieve this.
Creating Update Panel in code behind dynamically can be a bit tricky, comparing to doing it at the front end. Here's a quick view of the code we write to do this.
I have been using StatCounter, as my website tracking statistic provider for many many years, even after Google Analytic came out. I liked Google Analytics but there is just one thing that Google can't provide that StatCounter does and that is the most useful piece of information I get from the stat.
I was trying to create a web part with WSPBuilder installed on Visual Studio 2008, but had the problem of rendering a user control. Then I came across this blog post, which explains the steps in wrapping usercontrol with WSPBuilder solution. What's even greater is we can setup a structure which seperates the application presentation layer with the WSP project.
One of the thing I hate most about Sharepoint is its naming. It does not tell the administrator what name it's actually storing a column field of, and this could always lead to errors.
Recently I had the chance to customise the advanced search box of Sharepoint server portal, with own fields/ properties and defined a seperate scope for it. It was not hard, but needs some research and practical experiments.
Recently, I had the chance to play around with ajaxifying Sharepoint server. As you would have probably known, Ajax is a great feature in .NET 3.5 but MOSS 2007 was shipped before Ajax was out. So, to use it, we just need some configurations done.
SharePoint list has permission down to the list level, but what if we need to control view, edit and display for each column? I have been researching on a lot of add-ons around the Internet and luckily found one that works just brilliantly. There's this add-on called SPListDisplaySetting, hosted on CodePlex, which allows you to do that. Strange thing is the first time I installed it, it didn't work as it cooked up my list to not showing the action toolbar and i had to re-install WSS to get it back in shape.