<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ReferenceModelDataType.ascx.cs"
    Inherits="PowerEasy.Module.General.WebSite.Admin.Controls.FieldControl.ReferenceModelDataType" %>
<div class="DivWordBreak">
    <div style="display: none">
        <asp:TextBox ID="TxtReferenceModelData" CssClass="inputxt" runat="server"></asp:TextBox>
    </div>
    <asp:TextBox ID="TxtReferenceModelDataName" ReadOnly="true" CssClass="inputxt" runat="server"></asp:TextBox>
    <pec:FloatingDialog ID="FileFloatingDialog" Visible="false" runat="server" ShowType="1"
        Width="600" Height="350" Name="选择" Skin="inputbutton" Title="选择" />
    <input type="button" value="清除" class="inputbutton" onclick="cleanmodeldata()" />
    <pe:RequiredFieldValidator ID="ReqTxtFileText" runat="server" ControlToValidate="TxtReferenceModelData"
        SetFocusOnError="true" ErrorMessage="<%$ Res : Controls_FieldControl_PictureType_ReqTxtFileText, 必填项不能为空 %>"
        Display="Dynamic" Visible="false"></pe:RequiredFieldValidator>
    <span style="color: Green">
        <%= Description %>
    </span>
    <br />
    <div style="display: none">
        <span id="ReferenceModelInfo" runat="server"></span>
    </div>
    <script language="javascript" type="text/javascript">
        function cleanmodeldata() {
            $("#<%=TxtReferenceModelData.ClientID %> ").val("");
            $("#<%=TxtReferenceModelDataName.ClientID %> ").val("");
        }
    </script>
</div>
