Reading and Writing to Lookup Field in Sharepoint

Read more about Reading and Writing to Lookup Field in Sharepoint article

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

Read more about Creating Update Panel in Code Behind Dynamically article

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.

Solution to Hotmail and Email Accounts being hacked

Read more about Solution to Hotmail and Email Accounts being hacked article

Just yesterday I realised suddenly I couldn't login to my Hotmail account. No matter what I tried, even the password reminder, etc didn't work. It seems as if something happened and then I realised my eBay account is not working too. Normally I would use iPhone to login to My Ebay, and strangely when I logged in via IPhone, my eBay account username was shown as someone else. Immediately I knew my accounts have been hacked.

How to install a clean StatCounter Installation Code

Read more about How to install a clean StatCounter Installation Code article

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.

Setting up a core framework for Sharepoint Webpart

Read more about Setting up a core framework for Sharepoint Webpart article

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.

How to check Sharepoint fieldname with spaces?

Read more about How to check Sharepoint fieldname with spaces? article

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.

How to kill database in use process for restoration?

Read more about How to kill database in use process for restoration? article

I recently installed SQL 2008 on my machine and once I tried to restore a database, it failed as it complaint as the database was currently in use. In SQL 2005, we normally go to activity monitor to kill the process but this is a little different in SQL 2008. The easiest solution now is to run this little query.

Customise Advanced Search box in Sharepoint

Read more about Customise Advanced Search box in Sharepoint article

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.

Integrating Ajax into Sharepoint 2007

Read more about Integrating Ajax into Sharepoint 2007 article

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.

Customise Column Permissions for Sharepoint List

Read more about Customise Column Permissions for Sharepoint List article

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.