<%@ Page Language="VB" AutoEventWireup="false" CodeFile="PanelDemo2WithAJAX.aspx.vb" Inherits="PanelDemo2WithAJAX" %>

<%@ 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 id="Head1" runat="server">
   <title>Untitled Page</title>

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

</head>
<body>
   <form id="form1" runat="server">
   <div>
      <asp:ScriptManager ID="ScriptManager1" runat="server" />
      <p>
         <asp:Label ID="lblCollapse" runat="server" Text="Kliknij, aby zwinąć" />
         ||
         <asp:Label ID="lblExpand" runat="server" Text="Kliknij, aby rozwinąć" />
      </p>
      <p>
         <asp:Image ID="imgToggle" runat="server" /> : <asp:Label ID="lblState" runat="server" />
      </p>
      <p>
         <asp:Label ID="lblChoices" runat="server" />
      </p>
      <p>
         <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="pnlWebsites"
            CollapseControlID="lblCollapse" ExpandControlID="lblExpand" Collapsed="true" 
            ExpandedText="Aktualnie rozwinięty" CollapsedText="Aktualnie zwinięty" TextLabelID="lblState"
            ExpandedImage="ToggleButton_Checked.gif" CollapsedImage="ToggleButton_Unchecked.gif" ImageControlID="imgToggle"
            ExpandDirection="Horizontal" CollapsedSize="100">
         </cc1:CollapsiblePanelExtender>
         <asp:Panel runat="server" ID="pnlWebSites">
            <asp:RadioButtonList ID="rblWebsites" runat="server" AutoPostBack="true">
               <asp:ListItem Value="http://www.oreilly.com/">O&#8217;Reilly &amp; Associates</asp:ListItem>
               <asp:ListItem Value="http://www.LibertyAssociates.com">Liberty Associates</asp:ListItem>
               <asp:ListItem Value="http://www.stersol.com" Text="Sterling Solutions"></asp:ListItem>
               <asp:ListItem Value="http://www.hmobius.com">Hmobius</asp:ListItem>
            </asp:RadioButtonList>
         </asp:Panel>
      </p>
   </div>
   </form>
</body>
</html>

