私はTimer
コントロールを持っており、何度か再チェックのためにUpdatePanel
を持っています。 Timer_Tick
はここに私のaspxページのエラーメッセージのメンバーではない、 私のコードTimer_Tickはaspxページのメンバーではありません
<asp:UpdatePanel ID="UpdatePanel4" runat="server">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Timer1_Tick" />
</Triggers>
<ContentTemplate>
<asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="60"></asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
そして、ここに私の問題で検出された理由が、私の問題は
ここ私のコードの後ろに、次のとおりです。
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
If UUID <> "" Then
If UUID = Cardode Then
scnRFID.Text = CardIdent
Timer1.Enabled = False
Else
Timer1.Enabled = false
End If
End If
End Sub
コードビハインドファイルで「Timer1_Tick」を定義しましたか? – Sami
さて、エラーは明らかです。ページに 'Timer1_Tick'メソッドがありますか? – Andrei
@Sami確かに、私は、私のポストのために更新しました、あなたに感謝サミ – Bcktr