Telerik Experts,
We have created some SharePoint Visual Web Parts containing Telerik Rad Control ( RadGrid for ASP .Net Ajax) using Visual Studio 2013. These are simple webparts that consume sharepoint lists as datasource. We sucessfully deployed the Web Parts to SharePoint 2013 and are able to add these WebParts in SharePoint pages.
The solution works fine as long as we are using default SharePoint MasterPage. There is a feature in SharePoint which lets you create custommasterpages for the site from an html file. The details as how it works can be found here:
http://preachingsharepoint.blogspot.com/2012/09/sharepoint-2013-how-to-add-html-master.html
When we use these converted masterpages for the site pages, webparts developed using Telerik Controls for ASP .Net AJAX no longer works and pages start erroring out. Here's the error message the we get
"The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. "
We tried creating a webpart with standard ASP .Net controls and use them with these custom masterpages. These WebParts works fine, so the problem is isolated to using WebParts containing Telerik controls and using the custom masterpages that are converted from html. We were able to reproduce this issue on multiple SharePoint farms, so its not an one off issue.