Httpexception The Controls collection cannot be modified because the control contains code blocks

StackOverflow https://stackoverflow.com/questions/16372238

Question

I try to add a user control by ajax but I have The same problem of This One, and the suggested solution is Remove <%= From head of page, but my master page is:

master page

As you see there is not any <%= character in head of page, So where is the problem? why I get the error yet?

any suggestion?

Était-ce utile?

La solution

I put target elements in Panel or placeholder, and there is not any more error.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top