<%@ Page Language="vb" AutoEventWireup="true" Inherits="Telerik.Web.Examples.ColorPicker.Localization.DefaultVB"CodeFile="DefaultVB.aspx.vb"  %>
<%@ 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>
    <link href="styles.css" rel="stylesheet" />
    <script src="scripts.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-containers">
        <div class="demo-container">
            <div class="inner-demo-container">
                <telerik:RadColorPicker RenderMode="Lightweight" runat="server" ID="RadColorPicker1" PaletteModes="All">
                    <Localization ApplyButtonText="<%$ Resources:RadColorPicker, ApplyButtonText %>"
                        CurrentColorText="<%$ Resources:RadColorPicker, CurrentColorText %>" HSBTabText="<%$ Resources:RadColorPicker, HSBTabText %>"
                        HSVTabText="<%$ Resources:RadColorPicker, HSVTabText %>" NoColorText="<%$ Resources:RadColorPicker, NoColorText %>"
                        PickColorText="<%$ Resources:RadColorPicker, PickColorText %>" RGBSlidersTabText="<%$ Resources:RadColorPicker, RGBSlidersTabText %>"
                        WebPaletteTabText="<%$ Resources:RadColorPicker, WebPaletteTabText %>" BlankColorText="<%$ Resources:RadColorPicker, BlankColorText %>"
                        HSBSliderDragText="<%$ Resources:RadColorPicker, HSBSliderDragText %>" HSVSliderDragText="<%$ Resources:RadColorPicker, HSVSliderDragText %>"
                        RGBSlidersDecreaseText="<%$ Resources:RadColorPicker, RGBSlidersDecreaseText %>"
                        RGBSlidersDragText="<%$ Resources:RadColorPicker, RGBSlidersDragText %>" RGBSlidersIncreaseText="<%$ Resources:RadColorPicker, RGBSlidersIncreaseText %>"></Localization>
                </telerik:RadColorPicker>
            </div>
            <div class="inner-demo-container">
                <telerik:RadColorPicker RenderMode="Lightweight" runat="server" ID="RadColorPicker2" PaletteModes="All" ShowIcon="true">
                    <Localization ApplyButtonText="<%$ Resources:RadColorPicker, ApplyButtonText %>"
                        CurrentColorText="<%$ Resources:RadColorPicker, CurrentColorText %>" HSBTabText="<%$ Resources:RadColorPicker, HSBTabText %>"
                        HSVTabText="<%$ Resources:RadColorPicker, HSVTabText %>" NoColorText="<%$ Resources:RadColorPicker, NoColorText %>"
                        PickColorText="<%$ Resources:RadColorPicker, PickColorText %>" RGBSlidersTabText="<%$ Resources:RadColorPicker, RGBSlidersTabText %>"
                        WebPaletteTabText="<%$ Resources:RadColorPicker, WebPaletteTabText %>" BlankColorText="<%$ Resources:RadColorPicker, BlankColorText %>"
                        HSBSliderDragText="<%$ Resources:RadColorPicker, HSBSliderDragText %>" HSVSliderDragText="<%$ Resources:RadColorPicker, HSVSliderDragText %>"
                        RGBSlidersDecreaseText="<%$ Resources:RadColorPicker, RGBSlidersDecreaseText %>"
                        RGBSlidersDragText="<%$ Resources:RadColorPicker, RGBSlidersDragText %>" RGBSlidersIncreaseText="<%$ Resources:RadColorPicker, RGBSlidersIncreaseText %>"></Localization>
                </telerik:RadColorPicker>
            </div>
        </div>
    </div>
    <telerik:RadAjaxManager ID="ajaxManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rblLanguages">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadColorPicker1"></telerik:AjaxUpdatedControl>
                    <telerik:AjaxUpdatedControl ControlID="RadColorPicker2"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <qsf:ConfiguratorPanel runat="server">
        <Views>
            <qsf:View>
                <qsf:RadioButtonList ID="rblLanguages" runat="server" Orientation="Horizontal"
                    AutoPostBack="True" Label="Choose language">
                    <asp:ListItem Value="de-DE">Deutsch</asp:ListItem>
                    <asp:ListItem Value="en-US">English</asp:ListItem>
                    <asp:ListItem Value="fr-FR">Francais</asp:ListItem>
                </qsf:RadioButtonList>
                <input type="hidden" name="cultureRadioList" value="<%= rblLanguages.UniqueID %>" />
            </qsf:View>
        </Views>
    </qsf:ConfiguratorPanel>
    </form>
</body>
</html>