Posted on: 1/28/2014 8:48:59 PM | Views : 640

I used both MasterPage.maste and Site.master for different webpage. It seems work fine. When I used ajax on the pages, it works with MasterPage.master, but it throws error on the pages with Site.master.
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.  Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

However, I'm not clear the difference of two. Can you explain it? or point to a post ...

Go to the complete details ...