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

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

Вопрос

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?

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top