Wednesday, July 7, 2010

Meta Tag Generator for Microsoft Office Live Small Business


I finally finished my Meta Tag Generator for Microsoft Office Live Small Business. The Visual Studio 2010 Web User Control Project is available as a download at http://bit.ly/aQpd0d.  It was a little frustrating debugging the JavaScript because Visual Studio or IE (I'm not sure which.) doesn't always clear the JavaScript cache.  The only way to ensure the correct code is executed is to keep renaming the .js files. I wish I could figure out how to reproduce the problem to report it as a bug.  The other irritating problem is Visual Studio renames the Control ID (element ID property) at runtime. That would break the JavaScript.  But, I found the ClientIDMode property for the control in the properties form.  Just set it to Static and the IDs are not renamed. 

Visual Studio's Intellisense for JavaScript also seems to be incomplete. Aptana Studio (Open Source) does a much better job for writing JavaScript.  Even Netbeans offers better support for JavaScript.