Posted 21 Apr 2014
Link to this post
Hello, I am working with vb .net and within an existing project that uses telerik, i imported some user controls.
My hope is to convert existing controls to rad controls, however when adding a rad button...or any control..
I get the following error
"The Controls collection cannot be modified because the control contains code blocks"
steps i have taken to try to correct issue are as follows.
1. I changed <%= to <#=
3. Attempted a radscriptmanger but i already have one declared so error occurs.
I do not know what to try at this point.
As expressed this is an existing project, the only thing that might be a curveball is.
This imported code is called from a radwindow and is created as a modal window.
Within the aspx page, are the user controls that i am attempting to replace existing with telerik.
When a radwindow is open, do i lose anything that i must declare again?
As expressed it is aware of the script manager.
What could i be missing? At wits end.