Literal content (' ') is not allowed within a System.Web.UI.HTMLControls.HtmlTableCellCollection

Today, i was involved in an issue which was faced by one of my colleague. Issue was:


We investigated the issue for couple of hours and found that double quotation " was missed in HTML code, shown below:


After resolving the issue, i have learnt that, this type of issues occur due to very simple errors in our code and we spend a lot of time to resolve them. So whenever we code, we should care about what we are typing and make sure that we write a correct code by checking or compiling the code before jumping to another line or function of the code.


Comments

Popular posts from this blog

Data Bound Controls in ASP.Net - Part 4 (FormView and DetailsView controls)

ASP.net: HttpHandlers

The Clickjacking attack and X-Frame-Options