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

<%@ 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" EnablePartialRendering="true" />
      <p>
         Publisher (Pop Up):
         <asp:TextBox ID="txtChoice" runat="server"></asp:TextBox>
         <cc1:PopupControlExtender ID="Popup1" runat="server" TargetControlID="txtChoice"
            PopupControlID="pnlChoice" Position="Right">
         </cc1:PopupControlExtender>
      </p>
      <asp:UpdatePanel ID="pnlChoice" runat="server">
         <ContentTemplate>
            <asp:Label ID="Label1" runat="server" Text="Wybierz jednego z poniższych wydawców" />
            <asp:RadioButtonList ID="rblWebsites" runat="server" OnSelectedIndexChanged="rblWebsites_SelectedIndexChanged"
               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>
         </ContentTemplate>
      </asp:UpdatePanel>
   </div>
   </form>
</body>
</html>
