<%@ Page Language="c#" AutoEventWireup="true" Inherits="Telerik.ImageGalleryExamplesCSharp.AccessibilityAndInternationalization.Localization.DefaultCS" CodeFile="DefaultCS.aspx.cs" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
<style type="text/css">
.size-custom {
width: 600px;
}
</style>
</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-custom">
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ConfiguratorPanel1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="ConfiguratorPanel1" />
<telerik:AjaxUpdatedControl ControlID="RadImageGallery1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
<telerik:RadImageGallery RenderMode="Lightweight" ID="RadImageGallery1" runat="server" DataSourceID="SqlDataSource1" DataImageField="ImageUrl"
Width="600px" Height="480px" LoopItems="true">
<ThumbnailsAreaSettings ThumbnailWidth="120px" ThumbnailHeight="80px" Height="80px" />
<ImageAreaSettings Height="400px" />
</telerik:RadImageGallery>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:TelerikConnectionString %>"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT [ImageUrl], [Description], [Title] FROM [CityImages]"></asp:SqlDataSource>
</div>
<qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1">
<Views>
<qsf:View>
<qsf:ConfiguratorColumn ID="ConfiguratorColumn1" runat="server" Size="Narrow" Title="Choose language">
<qsf:RadioButtonList ID="radiobuttonlistLanguages" runat="server" RepeatDirection="Vertical"
AutoPostBack="True" Style="margin-left: 1em">
<asp:ListItem Value="de-DE"><img src="flags/german.gif" alt="Deutsch"/> Deutsch</asp:ListItem>
<asp:ListItem Value="en-US" Selected="true"><img src="flags/english.gif" alt="English" /> English</asp:ListItem>
<asp:ListItem Value="fr-FR"><img src="flags/french.gif" alt="Fran�ais" /> Fran�ais</asp:ListItem>
</qsf:RadioButtonList>
</qsf:ConfiguratorColumn>
</qsf:View>
</Views>
</qsf:ConfiguratorPanel>
</form>
</body>
</html>