How to: Troubleshoot “The event handler ‘OnClick’ is not allowed in this page”
While working with an asp.net page in SharePoint 2007 (or, in any other situation where you get this error), when you try to bind the OnClick event of a button to a code behind event receiver, you will get an error saying that you are not allowed to directly access the OnClick event of the [...]
Read MoreHow to: Create random Word documents of specified length
Have you ever found yourself in a position needing a document file to use in order to test an application? It’s one of those things that happen more often than not. What do you do then? I will normally start up Microsoft Word, type in some rubbish (or, even copy random stuff from whatever webpage [...]
Read MoreHow to: Troubleshoot “Server Error in ‘/’ Application.” error after SP2010 SP1 update
In case you just installed SharePoint 2010 Service Pack 1, or one of the new August/September 2011 updates is giving you a hard time, if you’re facing the following error: “Server Error in ‘/’ Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of [...]
Read MoreHow to: Add a “Create New Document” link on a page outside a document library in SP2007
If you want to display a link that allows you to create new items in a SharePoint 2007 document/form library, you can easily do that in a Content Query web part. Just do the following: 1. Navigate to the library where you want to be able to create new items. 2. Open up the [...]
Read MoreHow to: Fix the missing Start Menu icons
Have you ever found yourself in a situation where, although you can access your programs through the windows start menu, when they start, they do not display their associated icon in the task bar? Or, maybe, the program icons don’t display on the start menu itself? In Windows Vista and Windows 7, these icons are [...]
Read MoreHow to: Simultaneously run multiple Skype accounts on one PC
There are people, such as myself, who keep separate accounts in their instant messaging (IM) programs in order to be able to better control who can see them online at each time of the day. For example, one might have an account for use with random people on the internet and another one for business [...]
Read MoreHow to: Get a SharePoint 2010 Lists XML file
There will be times that you need to fetch the XML file that describes one of your lists in SharePoint 2010. One example that pops to mind is when working with the Lists.asmx web service. You will need to have a visual of the XML file in case you need to operate on the data [...]
Read MoreHow to: Get a SharePoint 2010/2007 list GUID
There will be times when you will need to get a SharePoint list’s ID number. You might want to reference it in a look up field or work with it in some other coding example. There’s a couple of ways to do this: 1. If you’re inside Visual Studio, you can always use the Lists.asmx [...]
Read MoreRapidshare Javascript Hack
I have never liked Javascript or JavaScript or whatever. Never. Not when I studied it, not when I worked with it and not now that years have passed since then. Some could ask what is there not to like in this versatile client programming language. First off, it’s not a programming language. It’s an excuse [...]
Read More