Sunday, January 22, 2006
It's been a while but here is a post about code. You've been warned.

This morning I was working on bit of code. I prefer to write my ASP.NET with code-behinds, however for this project certain pieces are inline pages. I'm a team player so I'm writing inline pages.
Well after adding a function that returns some javascript to the page,  I got the following error: "CS1010: Newline in Constant". So what the heck does that mean I wonder to myself, so I google the error and come to find out it is a know issue.  If your code is writing out a "</script>" tag to the page, it causes this compile error.  The work around is to split up the tag. "<" + "/script>".
Fun stuff. Here is a link to the <a href="http://support.microsoft.com/?kbid=827420">microsoft knowledgebase article</a>.

Happy Coding

1/22/2006 8:15:21 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0]