Error with Dependent Grid Tables

2 posts, 0 answers
  1. Frank
    Frank avatar
    1 posts
    Member since:
    May 2014

    Posted 27 May Link to this post

    Hi, I used some code I found here to create a dependent grid.  When the user clicks on a row, it opens two dependent grids that filter based on the row he/she clicked on.  I am experiencing an error when I submit the form:

    Exception of type 'System.Web.HttpUnhandledException' was thrown.
    A control with ID 'ctl00$ctl04$fvlc$Form1$Grid1' could not be found for the trigger in UpdatePanel 'ctl00$ctl04$fvlc$Form1$Grid1Panel'.

     

    As far as I can tell the Grid1 was defined in the form.

     

     <sq:AjaxManager ID="AjaxManager1" runat="server">
          <AjaxSettings>
                <sq:AjaxSetting AjaxControlID="Grid1">
                    <UpdatedControls>
                        <sq:AjaxUpdatedControl ControlID="Grid1"></sq:AjaxUpdatedControl>
                        <sq:AjaxUpdatedControl ControlID="Grid2" LoadingPanelID="AjaxLoadingPanel1"></sq:AjaxUpdatedControl>
                        <sq:AjaxUpdatedControl ControlID="Grid3" LoadingPanelID="AjaxLoadingPanel1"></sq:AjaxUpdatedControl>
                    </UpdatedControls>
                    </sq:AjaxSetting>
                <sq:AjaxSetting AjaxControlID="Grid2">
                  <UpdatedControls>
                        <sq:AjaxUpdatedControl ControlID="Grid2"></sq:AjaxUpdatedControl>
                        <sq:AjaxUpdatedControl ControlID="Grid3" LoadingPanelID="AjaxLoadingPanel1"></sq:AjaxUpdatedControl>
                    </UpdatedControls>
                </sq:AjaxSetting>
             <sq:AjaxSetting AjaxControlID="Grid3">
                    <UpdatedControls>
                        <sq:AjaxUpdatedControl ControlID="Grid3"></sq:AjaxUpdatedControl>
                    </UpdatedControls>
                </sq:AjaxSetting>
            </AjaxSettings>
        </sq:AjaxManager>
        <sq:AjaxLoadingPanel ID="AjaxLoadingPanel1" runat="server" Skin="Default"></sq:AjaxLoadingPanel>

     

    Thanks for the help.

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 31 May Link to this post

    Hi Frank,

    Based on the provided information it would be hard to pinpoint what is causing the error. However you can try couple of things in order to narrow the search.

    Disable AJAX by setting the EnableAJAX property of RadAjaxManager to false. Then test the behavior again and see if there are any server-side errors thrown.

    In case the issue persists please send us the complete markup with the related code-behind. Thus, we will be able to examine the code and look for possible issues.

    Regards,
    Viktor Tachev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top