Here is my latest little issue. I am working on a website that is going to be fantabulous (Please don't freakin' email me! I know it's not a REAL word! However, I'm a woman and I can say whatever I damn well please!). The site is called ShowOffYou and its a site for social site backgrounds, layouts and graphics. The exact address is http://www.showoffyou.com/. I'll keep you updated about it's "grand opening." Anyway let me get back to my story.
Just in case you are lazy or just don't feel like clicking on the image above, I will tell you what it says. It says 'the form' sys is undefined. 'the form' is undefined??? Oh come on! :-(
Ok. I looked at the source code via the browser. It seemed fine. I looked at my web.config file. It looked just great. Ok. So what now??????
Here is the correct way the script should have been written.
That's it! If you get that dreaded 'theform' is undefined error, just make sure that your script tag has an end script. There may be additional reasons for this 'theform' is undefined error, however, this is a simple fix to look at first.I hope someone benefits from my 'theform' is undefined ramblings.
Have lots of dotnet fun people!!
Cause: Defining the script tag without an ending script tag in the head section of your asp.net document.
Fix: Change the way you define the script tag. Make sure that there is a beginning tag and a full end tag. See the images above.