Friday, May 29, 2009

ASP.NET error CS1026: ) expected

Today I came across this error, so I did Google search on it I came across below blog
http://www.romsteady.net/blog/2007/07/caspnet-error-cs1026-expected.html

the reason for error was semicolon inside the server tag.
var mShowRawData = '<%= common.ShowRawData; %>'

instead just write
var mShowRawData = '<%= common.ShowRawData %>'