Wednesday, 13 May 2009
AJAX: IE's autocomplete getting in your way
It was hindering my javascript onblur event when you select a value from autocomplete with your mouse.
To stop this and get my onblur event working, I had to disable the autocomplete on my form.
To do this just add a new attribute to the tag.
Autocomplete=off
Monday, 11 May 2009
WSS3.0: Sharepoint Lists - modify default CRUD forms

REF : http://blog.henryong.com/2007/09/05/how-to-edit-the-form-fields-of-a-sharepoint-list/
Here’s an often forgotten feature that any SharePoint Designer person should be aware of. It’s the ability to edit and customize the default form fields for any list. This is made possible by using SharePoint Designer to navigate and open the form page that you want to edit. When you open the page you’ll see something like this:
You’ve probably tried right clicking around, trying to convert the web part to a dataview web part, and then you threw up your hands and said this is impossible!
But wait! Check this out… First select the ListFormWebPart and *EDIT: DO NOT hit the delete key. Instead hide the webpart. If you delete it, this will happen: http://support.microsoft.com/kb/935504
Ta da! Now you can go about your daily business of form customizations.
Thursday, 7 May 2009
TSQL: Email Notifications
When setting up a new SQL job, you can add additional steps after the job has run.
In the command area, type in the following to send an email:
exec master.dbo.sp_sqlnotify '[from email]','[to email 1];[to email 2]','[subject]','[msg body].'

Setup 2 additional steps, one for failure and one for success (only if you want to be notified on success), point the actions on Step 1 to the additional steps.
