This problem occurred in IE using Jquery but will no doubt happen with other objects when passing in parameters. Basically the scripts all worked in Firefox and I happily carried on until testing in IE 7. A dreaded “Error: Expected identifier, string or number” error. It then stopped loading any other javascript. It turned out [...]
Error: Expected identifier, string or number in IE (jQuery)
April 13th, 2010
Burtwald
Search and/or replace text in files for Windows
March 31st, 2010
Burtwald
A great tool for searching and replacing text in file son windows is grepWin, this allows you to search for plain text or use regular expressions to find what you need. You can then replace with what you need or use it to simply find that file you can’t exactly remember where/what it was called [...]
Associative arrays in ASP.net
March 26th, 2010
Burtwald
As a php developer, creating associative arrays is an easy task simply set the ket with its value $['key'] = “value”, ASP.net treats arrays differently and you cannot simply port this process over. Although a little more code, the same can be a achieved and is a trivial task. Simply create a NameValueCollection, add your [...]
“The specified string is not in the form required for an e-mail address.”
March 25th, 2010
Burtwald
Recently I came across this bug at the moment a new MailMessage class is constructed. That means the code crashed even before it tried to assign an e-mail address to one of the To, CC, Bcc or From properties through code. So what happened? After doing a little search, it was as simple as an [...]