I have create new module for DNN 5.4, when i try to use click event of button its not work me any Idea.
<%@ Control language="vb" Inherits="YourCompany.Modules.QuoteBuilderAdmin.ViewQuoteBuilderAdmin" CodeFile="ViewQuoteBuilderAdmin.ascx.vb" AutoEventWireup="false" Explicit="True" EnableViewState="false" %>
<div>
<div>
<div>
<asp:Button ID="btnManufacture" runat="server" Text="Manufacture" />
<asp:LinkButton ID="lnkManufacture" runat="server" Text="Manufacture" />
</div>
<div> <asp:LinkButton ID="lnkProduct" runat="server" Text="Manufacture" /> </div>
</div>
<div>
<asp:UpdatePanel ID="upnlLoadControl" RenderMode="Inline" ChildrenAsTriggers="false" UpdateMode="Conditional" runat="server">
<ContentTemplate>
<asp:PlaceHolder ID= "plcLoadControl" runat="server" >
</asp:PlaceHolder>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnManufacture" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</div>
</div>
Code Behind:
Protected Sub LoadUserControl()
Dim ControlPath As String = "Manufacture.ascx"
plcLoadControl.Controls.Clear()
Dim uc As UserControl = CType(LoadControl(ControlPath), UserControl)
plcLoadControl.Controls.Add(uc)
End Sub
Protected Sub btnManufacture_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnManufacture.Click
LoadUserControl()
End Sub