Szukam zaktualizować zawartość panelu za pomocą asp: updatepanel. Na stronie pojawia się komunikat o błędzie: DotNetNuke.Services.Exceptions.ModuleLoadException: Typ "System.Web.UI.UpdatePanel" nie ma właściwości publicznej o nazwie "TextBox".UpdatePanel nie ma publicznej właściwości o nazwie "TextBox".
patrz kod poniżej:
<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>
Musimy zobaczyć Twój kod użytkownika –