Tuesday, June 14, 2011

HtmlSelect Error message with FCKEditor

I received an interesting error message recently. While trying to save a content area from FCKEditor in an ASP.NET web application, the following exception was displayed:

An HtmlSelect cannot have multiple items selected when Multiple is false.

After a couple quick minutes of debugging, I found out that the SQL insert statement included a column that had been deleted from the table. Once I removed the reference to that column, *poof*, the funny HtmlSelect exception disappeared. Funny!

No comments:

Post a Comment