<%@ Page Language="vb" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.AjaxLoadingPanel.Overview.DefaultVB" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
<link href="styles.css" rel="Stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<div class="demo-container size-medium">
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="Panel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
<telerik:AjaxUpdatedControl ControlID="ConfigurationPanel1" LoadingPanelID="RadAjaxLoadingPanel2"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="ConfigurationPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanel1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
<telerik:AjaxUpdatedControl ControlID="ConfigurationPanel1" LoadingPanelID="RadAjaxLoadingPanel2"></telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<asp:Panel ID="Panel1" runat="server" Height="380px" CssClass="background1">
<telerik:RadButton RenderMode="Lightweight" ID="Button2" runat="server" Text="Click to see the loading image" OnClick="Button2_Click"></telerik:RadButton>
</asp:Panel>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Transparency="70">
</telerik:RadAjaxLoadingPanel>
</div>
<qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1" Title="Demo Configurator" Expanded="true">
<Views>
<qsf:View>
<qsf:ConfiguratorColumn ID="ConfiguratorColumn1" runat="server" Size="Narrow" Title="Loading Image Position">
<qsf:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" Size="Medium">
<Items>
<telerik:DropDownListItem runat="server" Text="Bottom" Value="Bottom" />
<telerik:DropDownListItem runat="server" Text="BottomLeft" Value="BottomLeft" />
<telerik:DropDownListItem runat="server" Text="BottomRight" Value="BottomRight" />
<telerik:DropDownListItem runat="server" Text="Center" Value="Center" Selected="True" />
<telerik:DropDownListItem runat="server" Text="Left" Value="Left" />
<telerik:DropDownListItem runat="server" Text="None" Value="None" />
<telerik:DropDownListItem runat="server" Text="Right" Value="Right" />
<telerik:DropDownListItem runat="server" Text="Top" Value="Top" />
<telerik:DropDownListItem runat="server" Text="TopLeft" Value="TopLeft" />
<telerik:DropDownListItem runat="server" Text="TopRight" Value="TopRight" />
</Items>
</qsf:DropDownList>
</qsf:ConfiguratorColumn>
<qsf:ConfiguratorColumn ID="ConfiguratorColumn2" runat="server" Size="Medium" Title="Transparency">
<asp:CheckBox ID="CheckBox1" runat="server" Text="Enable Background Transparency" Checked="false"
AutoPostBack="true" OnCheckedChanged="CheckBox1_CheckedChanged"></asp:CheckBox><br />
<br />
<asp:Panel runat="server" ID="TransparencyPanel">
<qsf:NumericTextBox ID="RadNumericTextBox1" runat="server" MinValue="1" MaxValue="100" Value="30" Size="Narrow" WrapperCssClass="transparencyTextBox" Visible="false">
<NumberFormat DecimalDigits="0"></NumberFormat>
</qsf:NumericTextBox>
<qsf:Button ID="Button1" runat="server" Text="Set value" OnClick="Button1_Click" Size="Narrow" Visible="false"></qsf:Button>
</asp:Panel>
</qsf:ConfiguratorColumn>
</qsf:View>
</Views>
</qsf:ConfiguratorPanel>
</form>
</body>
</html>