When I add a client side script block to my aspx page in VS.net 2008, I get some peculiar results...
1 - If I use VBSCRIPT as the language, it will not debug it or give any context-specific help...For example, if i type in my form name then ".", i would expect to see a popup list of properties and methods for my form. I get nothing. It doesnt highlight syntax errors or anything. If I change it to javascript it does.
2 - As soon as i add the script block, it starts highlighting all sorts of other "errors" both within the script block, and in my html. Things like "attribute must be enclosed in quotation marks", and something about upper case letters not being allowed?? Since when??
That being said, my client side vbscript IS working in the browser, but this is very annoying. It is rather difficult to debug this way (especially number 1). How can I get the syntax checking features to work for vbscript?
Thanks in advance...
Eric
1 - If I use VBSCRIPT as the language, it will not debug it or give any context-specific help...For example, if i type in my form name then ".", i would expect to see a popup list of properties and methods for my form. I get nothing. It doesnt highlight syntax errors or anything. If I change it to javascript it does.
2 - As soon as i add the script block, it starts highlighting all sorts of other "errors" both within the script block, and in my html. Things like "attribute must be enclosed in quotation marks", and something about upper case letters not being allowed?? Since when??
That being said, my client side vbscript IS working in the browser, but this is very annoying. It is rather difficult to debug this way (especially number 1). How can I get the syntax checking features to work for vbscript?
Thanks in advance...
Eric