asp.net + EventName for UpdatePanel textbox onblur event
<p>I have added an onblur attribute to a textbox, what should put as the EventName for my UpdatePanel? I tried onblur but it gave me an error:</p>

<p>'Could not find an event named 'onblur' on associated control 'uitxtCamCode' for the trigger in UpdatePanel 'UpdatePanel2'.'</p>

<p>Please kindly advice. Thanks.</p>

<pre><code>    &lt;asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional"&gt;
                        &lt;Triggers&gt;
                            &lt;asp:AsyncPostBackTrigger ControlID="uitxtCamCode" EventName="onblur" /&gt;
                        &lt;/Triggers&gt;
                        &lt;ContentTemplate&gt;

                        &lt;asp:Label runat="server" ID="uilblCamCode" Text="&lt;%$ Resources:loyaltyManagerResources, uilblCamCode %&gt;"
                            CssClass="label"&gt;
                        &lt;/asp:Label&gt;

                        &lt;asp:TextBox ID="uitxtCamCode" runat="server" CssClass="tooltip" Width="150px"&gt;&lt;/asp:TextBox&gt;

                        &lt;/ContentTemplate&gt;
                        &lt;/asp:UpdatePanel&gt;


  Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init

        Dim onBlurScript = Page.ClientScript.GetPostBackEventReference(uitxtCamCode, "OnBlur")
        uitxtCamCode.Attributes.Add("onblur", onBlurScript)

    End Sub



  Private Sub HandleCustomPostbackEvent(ByVal ctrlName As String, ByVal args As String)

    CheckAvailability()

    If lblCCodeAvailability.ForeColor = Drawing.Color.Red And uitxtCamCode.Text &lt;&gt; "" Then
        If (ctrlName = uitxtCamCode.UniqueID And args = "OnBlur") Then
        End If
    Else
        Exit Sub
    End If

End Sub
</code></pre>
