UpdatePanel does not have a public property named 'TextBox'.

I want to update the contents of a panel using asp: updatepanel. I get an error on the page: DotNetNuke.Services.Exceptions.ModuleLoadException: Type 'System.Web.UI.UpdatePanel' does not have a public property named 'TextBox'.

See the code below:

<asp:ScriptManager runat="server" ID="ScriptManager" /> <asp:UpdatePanel runat="server" ID="brandAddingContainer" Visible="false"> <ContentTemplate> <asp:LinkButton runat="server" ID="brandAddingPrompt"> <img src="/images/add.gif" alt="Add New Brand" onclick="addNewBrand_clicked"/> Add New Brand </asp:LinkButton> <asp:Panel ID="sendNewBrand" runat="server"> <asp:TextBox runat="server" ID="newBrandName"></asp:TextBox> <asp:Button runat="server" ID="sendBrandName" Text="Add Brand" OnClick="sendNewBrand_clicked" /> <asp:Label runat="server" ID="insertionFeedback" Visible="false" /> </asp:Panel> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="brandAddingPrompt" EventName="Click" /> </Triggers> </asp:UpdatePanel> 
+8
asp.net-ajax dotnetnuke
source share
1 answer

Using ScriptManager in module controls is not recommended, I would suggest removing ScriptManager from your module code and use the Enable Prtial Rendering checkbox in the module control definition.

What version of the .NET Framework and dnn are you using? try installing ajax extensions?

there is also a whole section on the adef web server site that may be useful.

+1
source share

All Articles