<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CheckBoxDemoWithAJAX.aspx.cs"
   Inherits="CheckBoxDemoWithAJAX" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>Kontrolka CheckBox wraz z technologią Ajax</title>

   <script type="text/javascript">
    
      function pageLoad() {
      }
    
   </script>

</head>
<body>
   <form id="form1" runat="server">
   <div>
      <asp:ScriptManager ID="ScriptManager1" runat="server" />
      <asp:CheckBox ID="chkUnderline" runat="server" Text="Podkreślenie?" OnCheckedChanged="chkUnderline_CheckedChanged"
         AutoPostBack="true" />
      <asp:CheckBox ID="chkOverline" runat="server" Text="Nakreślenie?" OnCheckedChanged="chkOverline_CheckedChanged"
         AutoPostBack="true" />
      <asp:CheckBox ID="chkStrikeout" runat="server" Text="Przekreślenie?" OnCheckedChanged="chkStrikeout_CheckedChanged"
         AutoPostBack="true" />
      <cc1:ToggleButtonExtender ID="ToggleButtonExtender1" runat="server" TargetControlID="chkStrikeout"
         CheckedImageUrl="ToggleButton_Checked.gif" CheckedImageAlternateText="Wyłączenie przekreślenia"
         UncheckedImageUrl="togglebutton_unchecked.gif" UncheckedImageAlternateText="Włączenie przekreślenia"
         ImageWidth="19" ImageHeight="19" >
      </cc1:ToggleButtonExtender>   
      <cc1:MutuallyExclusiveCheckBoxExtender ID="MutuallyExclusiveCheckBoxExtender1" runat="server"
         targetControlId="chkUnderline" Key="Dekoracja">
      </cc1:MutuallyExclusiveCheckBoxExtender>
      <cc1:MutuallyExclusiveCheckBoxExtender ID="MutuallyExclusiveCheckBoxExtender2" runat="server"
         targetControlId="chkOverline" Key="Dekoracja">
      </cc1:MutuallyExclusiveCheckBoxExtender>
      <br />
      <br />
      <asp:Label ID="lblTime" runat="server" OnInit="lblTime_Init" />
   </div>
   </form>
</body>
</html>
