I get the following error at runtime after simply putting a control on a page:
"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
I've attached a screen shot. For some reason it's looking for a file in c:\Users\Stephen directory even though there has never been a Stephen to log on to my machine.
Comments: The problem here is your using code blocks in header <% %>. Anything that uses ajax toolkit doesn't like the use of code blocks on page.
"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."
I've attached a screen shot. For some reason it's looking for a file in c:\Users\Stephen directory even though there has never been a Stephen to log on to my machine.
Comments: The problem here is your using code blocks in header <% %>. Anything that uses ajax toolkit doesn't like the use of code blocks on page.