<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UpdatePanel.aspx.cs" Inherits="ComboBox_UpdatePanel" %>
<%@ Register TagPrefix="APNSoft" Namespace="APNSoft.WebControls" Assembly="APNSoftControls" %> 

<!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">
    <div>
    
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    
        <ContentTemplate>

            <APNSoft:APNSoftComboBox id="myComboBox" runat="server"
                SkinFolder = "~/ComboBox/Skins/Classic/"
                StructureFileURL="~/ComboBox/Structures/Default.xml"
            />

        </ContentTemplate>
        
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
            <asp:AsyncPostBackTrigger ControlID="Button2" EventName="Click" />
        </Triggers>
        
    </asp:UpdatePanel>


<br /><br />
<asp:Button ID="Button1" runat="server" Text="GrayScale Skin & Default structure" OnClick="Button1_Click" />
&nbsp;<asp:Button ID="Button2" runat="server" Text="AOL Skin & Search structure" OnClick="Button2_Click" />
        


    
    </div>
    </form>
</body>
</html>