Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Editor > RadEditor: Value Cannot Be Null Parameter: child error after upgrade to Q2 release

Not answered RadEditor: Value Cannot Be Null Parameter: child error after upgrade to Q2 release

Feed from this thread
  • Jimmie avatar

    Posted on Jul 19, 2011 (permalink)

    After upgrading to the Q2 release today, I get the error below as soon as I hit the page with the RadEditors. It does not hit any break points. It happens in both Release and Debug mode.
     
    I have multiple RadEditors on the page sharing a single toolbar using the ToolBarProviderID property. When I stop sharing the toolbar, I do not get the error. 

    At one time, the Stack Trace referenced a method with a name like "Ribbon" something. I believe it has to do with the new ribbon functionality.

    I do not get this error when I use the Q1 release.

    Please let me know if there is a workaround for the problem.

    --------

    Value cannot be null.
    Parameter name: child

    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.ArgumentNullException: Value cannot be null.
    Parameter name: child

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: child]
       System.Web.UI.ControlCollection.Add(Control child) +11023974
       Telerik.Web.UI.RadEditor.ControlPreRender() +225
       System.Web.UI.Control.PreRenderRecursiveInternal() +108
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Control.PreRenderRecursiveInternal() +224
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
    

    Reply

  • Rumen Rumen admin's avatar

    Posted on Jul 22, 2011 (permalink)

    Hello Jimmie,

    Please, accept our sincerely appoligies for the inconvenience that this bug is causing.

    You can download the latest internal build where the ToolProviderID problem is fixed. The issue will not exist in the next Q2 2011 SP2 release.

    Best regards,
    Rumen
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

  • ChrisS avatar

    Posted on Aug 15, 2011 (permalink)

    Hi Rumen,

    We are also badly affected by this bug.  Can you tell me when Q2 2011 SP2 release is due?  We have six websites waiting to go live and we don't wish to use an internal build in a production environment.  Once we know your timescales we can make a decision whether to revert back to Q1 2011.

    Many thanks

    Reply

  • Robert Meserole avatar

    Posted on Aug 17, 2011 (permalink)

    I just downloaded the latest internal build and placed the new DLLs in my bin folder and the problem with the ToolsProviderID appears to still exist.

    Reply

  • Dobromir Dobromir admin's avatar

    Posted on Aug 18, 2011 (permalink)

    Hi guys,

    @Chris
    The service pack with the fix for this bug is planned for the middle of September.

    @Robert
    Could you please verify that you are using Telerik.Web.UI.dll version 2011.2.809 or later? I have tested setting ToolProviderID property with the last two internal builds (2011.2.809 and 2011.2.816) and was unable to reproduce the issue. If you are still experiencing this problem could you please open a formal support ticket and provide a sample fully runnable project reproducing the issue?

    Greetings,
    Dobromir
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

    Reply

  • Posted on Sep 7, 2011 (permalink)

    I just downloaded the latest internal build and moved the latest DLLs to my bin, restarted IIS, and it didn't fix the issue here as well.

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: child

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: child]
       System.Web.UI.ControlCollection.Add(Control child) +11305622
       Telerik.Web.UI.RadEditor.ControlPreRender() +270


    <telerik:RadEditor runat="server" ID="txtProgramDescription" Skin="Black" ContentFilters="ConvertToXhtml" ToolsFile="~/ToolsFile.xml" Height="220px" Width="750px" AllowScripts="false" NewLineBr="true" StripFormattingOnPaste="AllExceptNewLines" Content='<%# Bind("Description") %>'>
                             <CssFiles>
                                 <telerik:EditorCssFile Value="~/css/editor.css" />
                             </CssFiles>
                            </telerik:RadEditor></td>
                    </tr>
                    <tr>
                        <td class="editFormLabel">Description Detail:</td>
                        <td><telerik:RadEditor runat="server" ID="RadEditor1" Skin="Black" ContentFilters="ConvertToXhtml" ToolProviderID="txtProgramDescription" ToolsFile="~/ToolsFile.xml" Height="220px" Width="750px" AllowScripts="false" NewLineBr="true" StripFormattingOnPaste="AllExceptNewLines" Content='<%# Bind("DescriptionDetail") %>'>
                             <CssFiles>
                                 <telerik:EditorCssFile Value="~/css/editor.css" />
                             </CssFiles>
                            </telerik:RadEditor>

    The first editor has some text being bound whereas the second editor's data is null.

    Reply

  • Rumen Rumen admin's avatar

    Posted on Sep 8, 2011 (permalink)

    Hi Curtis,

    I was unable to reproduce the problem with the today's build. For your convenience I have attached it to my reply.

    By the way next week we will release Q2 2011 SP1 and you can upgrade to it.

    Regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Editor > RadEditor: Value Cannot Be Null Parameter: child error after upgrade to Q2 release
Related resources for "RadEditor: Value Cannot Be Null Parameter: child error after upgrade to Q2 release"

ASP.NET Editor Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]