<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ColorType.ascx.cs" Inherits="PowerEasy.Module.General.WebSite.Admin.Controls.FieldControl.ColorType" %>
<div class="DivWordBreak">
    <pe:XColorPicker ID="PickColor" runat="server"></pe:XColorPicker><pe:RequiredFieldValidator
        ID="ReqPickColor" runat="server" SetFocusOnError="true" Visible="false" Display="Dynamic"
        ControlToValidate="PickColor" ErrorMessage="<%$ Res : Controls_FieldControl_ColorType_ReqPickColor, 颜色不能为空 %>"></pe:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="PickColor"
        ValidationExpression="#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?" ErrorMessage="<%$ Res : Controls_FieldControl_ColorType_RegularExpressionValidator1, 请输入正确的颜色代码 %>"></asp:RegularExpressionValidator>
    <span style="color: Green">
        <%= Description %>
    </span>
</div>
