The joys of Microsoft Student Partners
Yesterday I wrote an article about the “joys” of using ASP.net and its associated technologies as part of my Imagine Cup entry.
After writing that article, I received a lot of help from one of the university’s Microsoft Student Partners, who’s an expert on SQL Server and .Net. With his help, we sorted out most of the SQL issues (apart from a few ones which are related to constraints on the database) and also the form submission problem I discussed in the previous article.
It turns out that Internet Explorer, hard as it may be to comprehend, is actually more standards-compliant in this one aspect than Mozilla Firefox. I had a search form inside the all-encompassing server-side ASP.net form, which it didn’t like, and with good reason, since the HTML standard does not allow nested form elements. However, this does now mean that all form-related elements have to be ASP.net ones, since they need to use the ASP.net server-side form.
I also managed to sort out a weird JavaScript problem which also plagued Internet Explorer. This time, it was to do with mootools’ addEvent function, which doesn’t seem to work in Internet Explorer when applied to any object except window. I resolved this by reverting to code to ye olde style document.getElementById(element).onfocus type code.
Here we go again…