Hi there,
I'm sure this was working fine in previous releases <5.1, but now I get the error below. Now I'm using DNN 5.6.0
I'm using asp:UpdateProgressbar and asp:Updatepanel.... The whole idea is just display a "spindle" (busy. imag...) to display to the end-user that the system is busy for searching etc.
I have 3 Dropdopnlistboxes + 1 submit button (search) + an asp:gridview to display the results of the search
When I press the submit button I get the error below....
- So the whole page is within the Updatepanel (named: dspAdjudicationsRecente)
- The strange thing is : ON LOCALHOST it works fine... I don't get errors... This error causes when I move the application into PRODUCTION....
QUESTION:
- What is the problem in fact? the system can't find the updatepanel? why?
- Why does it work on my localhost fine (I see the spindle running, but it doesn't work on Production.... (fyi: On production I see the spindle but it stops and gives this error)
- How to solve this problem?
----------------------------------------------------------------------------------------------------------
SOURCE CODE - ASPX - Nothing Special in Code behind...
------------------------------------------------------------------------------------------------------------
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:UpdateProgress runat="server" ID="PageUpdateProgress" AssociatedUpdatePanelID="dspAdjudicationsRecente" >
<ProgressTemplate><div style="position:absolute; float:left; margin-top:100px; margin-left:150px;">
<asp:Image ImageUrl="~/images/PreloaderCircle.gif" runat="server" /></div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel runat="server" ID="dspAdjudicationsRecente" Visible="true" >
<ContentTemplate>
<div style="margin: 10px 0 0 0">
<dnn:Label ID="lblRegio" runat="server" Text="Regio : " Width="150px" ResourceKey="lblRegioResource1" />
<asp:DropDownList ID="ddlNutsRegion" runat="server" CssClass="inputTextbox"
OnSelectedIndexChanged="ddlNutsRegion_SelectedIndexChanged"
Width="450px" AutoPostBack="True" resourcekey="ddlNutsRegionResource1" />
< /div>
<div> <asp:Button ID="btnSearch" runat="server" Text="Zoek" class="button" Width="100px" resourcekey="btnSearchResource1"
OnClick="btnSearch_Click" Style="color:#FFFFFF;"/>
</div>
<asp:Panel ID="panelGrid" runat="server">
<asp:GridView ID="gvAdjudication" runat="server"
<Columns>
....
</Columns>
</asp:GridView>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
------------------------------------------------------------------------------------------------------
ERROR MESSAGE BELOW
-----------------------------------------------------------------------------------------------------
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E; MS-RTC LM 8)
Timestamp: Mon, 7 Feb 2011 08:15:13 UTC
Message: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'dnn_ctr7588_ViewAdjudications_Detail_dspAdjudicationsRecente'. If it is being updated dynamically then it must be inside another UpdatePanel.
Line: 5
Char: 62099
Code: 0
URI: http://www.xxxx.com/ScriptResource.ax...