2009-11-23 1 views
4
<asp:ScriptManager ID="ScriptManager1" runat="server"/> 

<asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
     <Triggers> 
      <asp:AsyncPostBackTrigger ControlID="chkStaySignedIn" EventName="Checked" /> 
     </Triggers> 
     <ContentTemplate> 
     <asp:Label ID="lblPassword" runat="server" Text="Password" AssociatedControlID="txtPassword"/> 
    </ContentTemplate> 
</asp:UpdatePanel> 

는 EventName을은 = "검사" 은 누구도 날 아약스를 사용하는 동안 이벤트 이름의 목록을 작성에 대한 링크를 제공 할 수 있습니다.ajax 트리거 비동기 호출을 사용하는 동안 체크 박스가 선택된 이벤트의 이벤트 이름은 무엇이 될까요?

답변

9

체크 박스의 이벤트 이름은 CheckedChanged

수단을 통해 그것은 최종 목록이 아닙니다

하지만 this MSDN page 목록을 다시 게시 일반 컨트롤의 기본 이벤트 이름입니다.

+0

이벤트 이름 속성에서도 지원되는 다른 이벤트가 있습니까? VS 내에서 이벤트 이름을 가져 오는 다른 방법이 있습니까? –