8
私はasp:updatepanelを使ってパネルの内容を更新しようとしています。 DotNetNuke.Services.Exceptions.ModuleLoadException: 私はページのことわざのエラーを取得するタイプ「System.Web.UI.UpdatePanelは」「テキストボックス」という名前のパブリックプロパティを持っていません。UpdatePanelには 'TextBox'という名前のパブリックプロパティがありません。
、以下を参照してくださいコード:モジュールのコントロールでScriptManager
を使用して
<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>
コードビハインドを確認する必要があります –