I'm getting the error:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
When attempting to add the tabs from the AjaxControlToolkit. A little background..Theres an existing aspx page in a microsite which used the accordion control and the tabbed control ...I need to modify this page to use a different masterpage.
The original site was .Net Framework 2.0 and the page in question used AjaxControlToolkit 1.0. which I manually installed originally. Some of the site has been further developed using the .Net Framework 3.5. (Come with AjaxControlToolkit) Now I have come to update this aspx page and I get the error above.
I have narrowed the down to the TabContainer (I think) Does anyone have any experience with this sort of problem? Also what version of the AjaxControlToolkit should be with the .Net Framework 3.5? I have 1.0.20229.20821.
I also tried to browse to the AjaxControlToolkit.dll to add the tools to the tool box as they're missing... thinking this may be an indicator as to why it wasn't working. I get the error: 'There was an error loading types from assembly C:\inetpub\wwwroot\project\Bin\AjaxControlToolkit.dll Could not load file or assembly 'System.Web.Extensions. Version=
View Complete Post