Tôi có mã này trong file .aspx tôiAsyncPostBackTrigger không tìm LinkButton
<asp:UpdatePanel runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
<ContentTemplate>
<asp:PlaceHolder runat="server" ID="Placeholder1" EnableViewState="false"></asp:PlaceHolder>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="ShowVotePanelBtn" EventName="ShowVoteClick" />
</Triggers>
</asp:UpdatePanel>
Và tôi nhận được lỗi này: Could not find an event named 'ShowVoteClick' on associated control 'ShowVotePanelBtn' for the trigger in UpdatePanel 'UpdatePanel1'
.
Tôi không hiểu thông báo này. Kiểm soát có sự kiện nhấp tương ứng.
Bất kỳ ý tưởng nào?
Tạo lại sự kiện..nó có thể hoạt động! –