Error with Dependent Grid Tables

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

    Posted 27 May 2016 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">
                <sq:AjaxSetting AjaxControlID="Grid1">
                        <sq:AjaxUpdatedControl ControlID="Grid1"></sq:AjaxUpdatedControl>
                        <sq:AjaxUpdatedControl ControlID="Grid2" LoadingPanelID="AjaxLoadingPanel1"></sq:AjaxUpdatedControl>
                        <sq:AjaxUpdatedControl ControlID="Grid3" LoadingPanelID="AjaxLoadingPanel1"></sq:AjaxUpdatedControl>
                <sq:AjaxSetting AjaxControlID="Grid2">
                        <sq:AjaxUpdatedControl ControlID="Grid2"></sq:AjaxUpdatedControl>
                        <sq:AjaxUpdatedControl ControlID="Grid3" LoadingPanelID="AjaxLoadingPanel1"></sq:AjaxUpdatedControl>
             <sq:AjaxSetting AjaxControlID="Grid3">
                        <sq:AjaxUpdatedControl ControlID="Grid3"></sq:AjaxUpdatedControl>
        <sq:AjaxLoadingPanel ID="AjaxLoadingPanel1" runat="server" Skin="Default"></sq:AjaxLoadingPanel>


    Thanks for the help.

  2. Viktor Tachev
    Viktor Tachev avatar
    2500 posts

    Posted 31 May 2016 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.

    Viktor Tachev
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top