SectionControls/ContactForm.ascx

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ContactForm.ascx.cs" Inherits="SectionControls_ContactForm" %>
<%@ Register TagPrefix="cc1" Namespace="MyWebPagesStarterKit.Controls" %>
<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" %>
<asp:MultiView runat="server" ID="multiview">
    <asp:View runat="server" ID="noMailserverView">
        <asp:Localize runat="server" Text="<%$ Resources:stringsRes, ctl_ContactForm_IntroPart1%>"></asp:Localize>
        <asp:HyperLink runat="server" ID="lnkAdmin" NavigateUrl="~/Administration/WebSite.aspx"><asp:Localize runat="server" Text="<%$ Resources:stringsRes, ctl_ContactForm_IntroPart2%>"></asp:Localize></asp:HyperLink>.
    </asp:View>
    <asp:View runat="server" ID="editView">
        <table width="100%">
            <tr>
                <td>
                </td>
                <td class="field">
                    <asp:RequiredFieldValidator runat="server" ID="valEmailToRequired" ControlToValidate="txtEmailTo"
                        ErrorMessage="<%$ Resources:stringsRes, ctl_ContactForm_ErrorMessageEmail%>"
                        Display="dynamic" SetFocusOnError="true"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator runat="server" ID="valEmailToRegex" ControlToValidate="txtEmailTo"
                        ErrorMessage="<%$ Resources:stringsRes, ctl_ContactForm_ErrorMessageValidEmail%>"
                        Display="dynamic" SetFocusOnError="true"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="fieldlabel">
                    <asp:Localize runat="server" Text="<%$ Resources:stringsRes, ctl_ContactForm_RecipientEMail%>"></asp:Localize></td>
                <td class="field">
                    <asp:TextBox runat="server" ID="txtEmailTo"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                </td>
                <td class="field">
                    <asp:RegularExpressionValidator runat="server" ID="valEmailCcRegex" ControlToValidate="txtEmailCc"
                        ErrorMessage="<%$ Resources:stringsRes, ctl_ContactForm_ErrorMessageValidEmail%>"
                        Display="dynamic" SetFocusOnError="true"></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td class="fieldlabel">
                    <asp:Localize runat="server" Text="<%$ Resources:stringsRes, ctl_ContactForm_CopyTo%>"></asp:Localize></td>
                <td class="field">
                    <asp:TextBox runat="server" ID="txtEmailCc"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                </td>
                <td class="field">
                    <asp:RequiredFieldValidator runat="server" ID="valSubjectRequired" ControlToValidate="txtSubject"
                        ErrorMessage="<%$ Resources:stringsRes, ctl_ContactForm_ErrorMessageSubject%>"
                        Display="dynamic" SetFocusOnError="true"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="fieldlabel">
                    <asp:Localize runat="server" Text="<%$ Resources:stringsRes, ctl_ContactForm_Subject%>"></asp:Localize></td>
                <td class="field">
                    <asp:TextBox runat="server" ID="txtSubject"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="fieldlabel">
                    <asp:Localize runat="server" Text="<%$ Resources:stringsRes, ctl_ContactForm_Introtext%>"></asp:Localize></td>
                <td class="field">
后面还有 74 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。