I am trying to add the Rad Spell check to a RadTextBox. I followed the instructions carefully and have succes IF I create a page with just the javascript SpellcheckDone function and the RadTextBox and the RadSpell. If, however, I add this code to an existing page, it will build with no errors; but when I try to bring up the page with the spell check javascript function on it, I get the following error:
Exception Details: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
Source Error:
Stack Trace:
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
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. <% ... %>).
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Nevermind ... I finally figured out that the RadCodeBlock could go around the <script></script> code; and then it works without errors.