Thanks,,
u saved my time. Am facing with telerik Q3
| Telerik-The-Controls-collection-cannot-be-modified-because-the-control-contains-code-blocks |
|
I have used the Telerik control on my aspx page. When I run the page I get the error message saying "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)". One of thing you need to do is put your script code inside the RadCodeBlock. <head id="Head1" runat="server"> <telerik:RadCodeBlock runat="server" ID="radCodeBlock1"> <script type="text/javascript"> function pageLoad() { // Get the combo box client id. cboIssueCategories = $find("<%= rcbCategory.ClientID %>"); } </script> </telerik:RadCodeBlock> </head>
|