<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PartialPostBackWeb._Default" %>

<%@ Register assembly="ImageRotatorExtender" namespace="ImageRotatorExtender" 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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <h2>Zdjęcia z Florencji udostępnione przez <asp:Image ID="Image2" runat="server" 
        ImageUrl="~/images/freeDigitalPhotoslogo.gif" /></h2>
    <h3> Ostatnia aktualizacja strony: 
        <asp:Label ID="Label1" runat="server" Text="Etykieta"></asp:Label></h3>            
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>   
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <h4>Ostatnia aktualizacja kontrolki UpdatePanel <%=DateTime.Now %>
            </h4>
            <asp:Image ID="Image1" runat="server" ImageUrl="~/images/1.jpg" />  
            <cc1:ImageRotator ID="Image1_ImageRotator" runat="server" 
                ImageList="images/2.jpg,images/3.jpg,images/4.jpg,images/1.jpg" 
                TargetControlID="Image1" />
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
        </Triggers>
    </asp:UpdatePanel>
    <div>
        <asp:Button ID="Button1" runat="server" Text="Odeślij kontrolkę UpdatePanel" />
    </div>
    <div>
        <asp:Button ID="Button2" runat="server" Text="Odeślij stronę" />
    </div>
       <p><a href="http://www.freedigitalphotos.net">Royalty free stock photography</a> for websites, PowerPoint, newletters, forums, blogs, schools and homework - FreeDigitalPhotos.net</p>
    </div>
    </form>
</body>
</html>
