For the past couple of hours I have been banging my head and pulling my left over few strands of hair to figure out what’s wrong with my code causing the below exception.
The Controls collection cannot be modified because the control contains code blocks (i.e. < % ... %>)
I finally found out the solution from a least expected settings. Continue reading