register control porblem in nested ajax panel

4 posts, 0 answers
  1. Reza
    Reza avatar
    3 posts
    Member since:
    Jan 2013

    Posted 06 Mar 2013 Link to this post

    hi there,
    i using RadComboBox and RadTreeView together. i use the AjaxPanel in RadComboBox's itemtemplate but also and  sometimes on some forms of our projects that Which has been used Master AjaxPanel , we face with this JS Error!!!

    Error: Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Script control 'SimpleTreeDownTree' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
    Parameter name: scriptControl
    Source File: http://localhost:2518/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=...

    is there any idea use inner AjaxPanel inside master Ajax panel that have not conflict together?
              
    <telerik:RadComboBox ID="SimpleTreeDownItems" runat="server" Height="255px" Width="420px"
                   AllowCustomText="true" EmptyMessage="Select Anythings" ToolTip="Select" Style="vertical-align: middle;"
                   OnDataBound="SimpleTreeDownItems_DataBound" OnPreRender="SimpleTreeDownItems_PreRender" OnClientDropDownOpened="SimpleTreeDownItems_OnClientDropDownOpenedHandler" >
                   <collapseanimation duration="400" type="inback" />
                   <expandanimation duration="400" type="inback" />
                   <itemtemplate>
                           <div   class="TreeViewWrapper" onclick="StopPropagation" >
                       <telerik:RadAjaxPanel runat="server" ID="SlaveAjaxPanel" >
                            <telerik:RadTreeView OnNodeDataBound="SimpleTreeDownTree_NodeDataBound" runat="server"
                                ID="SimpleTreeDownTree" OnNodeClick="NodeClicking" Width="411" Height="252" style="overflow-x:hidden; overflow-y:auto"  >
                               <Nodes>
                               </Nodes>
                           </telerik:RadTreeView>
                           </telerik:RadAjaxPanel>
                       </div>
                   </itemtemplate>
                   <expandanimation type="InBack"></expandanimation>
                   <items>
                         <telerik:RadComboBoxItem Text="" />
                   </items>
                   <collapseanimation type="InBack"></collapseanimation>
               </telerik:RadComboBox>




  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 11 Mar 2013 Link to this post

    Hello,

    From your code snippets I could not see the exact AjaxPanel configuration. Do you receive the same error with the same configuration but using UpdatePanel controls? I am asking this question because our RadAjaxPanel is based on it and the exception might be rather a generic one with this configuration.

    If the problem surfaces only when using our RadAjaxPanel, the best means to progress in our investigation is to isolate a stripped working version of your project and send it enclosed to a formal support ticket. We will examine your complete code logic and will get back to you with more info on the matter.

    Regards,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Reza
    Reza avatar
    3 posts
    Member since:
    Jan 2013

    Posted 13 Mar 2013 Link to this post

    Hi Maria ,
    I have a MasterPage that contains all control over a RadAjaxPanel Control. as shown User Control  code snippet I have inner RadAjaxPanel Control On ComboBox ItemTemplate.
    my solution is very very unpredictable. so on somewhere work properly and somewhere not work!.I know base of RadAjaxPanel is asp.net UpdatePanel control.
    Is there any way that we register this script control manually?
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 15 Mar 2013 Link to this post

    Hi Reza,

    The controls should be automatically register as script controls and there should be a need to do that manually if the page is properly configured. Therefore could you please try using asp UpdatePanel and replace the Telerik RadControls with any control for the AjaxControlToolkit suite and verify how it goes.
    It will be very helpful if you could open a regular support ticket and send us runnable application which demonstrates the presented error. Thus we will be able to debug it locally and advise you further.

    Kind regards,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top