-
Notifications
You must be signed in to change notification settings - Fork 12
/
EditReviewField.ascx
executable file
·125 lines (125 loc) · 7.3 KB
/
EditReviewField.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="EditReviewField.ascx.vb" Inherits="Ventrian.PropertyAgent.EditReviewField" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SectionHead" Src="~/controls/SectionHeadControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="Agent" TagName="Options" Src="Options.ascx" %>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left">
<asp:Repeater ID="rptBreadCrumbs" Runat="server">
<ItemTemplate><a href='<%# DataBinder.Eval(Container.DataItem, "Url") %>' class="NormalBold"><%# DataBinder.Eval(Container.DataItem, "Caption") %></a></ItemTemplate>
<SeparatorTemplate> » </SeparatorTemplate>
</asp:Repeater>
</td>
<td align="right">
<Agent:Options id="Options1" runat="server" />
</td>
</tr>
<tr>
<td height="5px" colspan="2"></td>
</tr>
</table>
<dnn:sectionhead id="dshReviewFieldDetails" cssclass="Head" runat="server" text="Review Field Details" section="tblReviewFieldDetails"
resourcekey="ReviewFieldDetails" includerule="True"></dnn:sectionhead>
<TABLE id="tblReviewFieldDetails" cellSpacing="0" cellPadding="2" width="100%" summary="Review Field Details Design Table"
border="0" runat="server">
<TR>
<TD colSpan="3">
<asp:label id="lblReviewFieldDetailsHelp" cssclass="Normal" runat="server" resourcekey="ReviewFieldDetailsDescription"
enableviewstate="False"></asp:label></TD>
</TR>
<TR>
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" noWrap width="150"><dnn:label id="plName" runat="server" resourcekey="Name" suffix=":" controlname="txtName"></dnn:label></TD>
<TD align="left" width="100%">
<asp:textbox id="txtName" cssclass="NormalTextBox" runat="server" maxlength="255" columns="30"
width="325"></asp:textbox>
<asp:requiredfieldvalidator id="valName" cssclass="NormalRed" runat="server" resourcekey="valName" controltovalidate="txtName"
errormessage="<br>You Must Enter a Valid Name" display="Dynamic"></asp:requiredfieldvalidator>
</TD>
</TR>
<TR>
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" noWrap width="150"><dnn:label id="plCaption" runat="server" resourcekey="Caption" suffix=":" controlname="txtCaption"></dnn:label></TD>
<TD align="left" width="100%">
<asp:textbox id="txtCaption" cssclass="NormalTextBox" runat="server" maxlength="255" columns="30"
width="325"></asp:textbox>
<asp:requiredfieldvalidator id="valCaption" cssclass="NormalRed" runat="server" resourcekey="valCaption" controltovalidate="txtCaption"
errormessage="<br>You Must Enter a Valid Caption" display="Dynamic"></asp:requiredfieldvalidator>
</TD>
</TR>
<TR>
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" noWrap width="150"><dnn:label id="plCaptionHelp" runat="server" resourcekey="CaptionHelp" suffix=":" controlname="txtCaptionHelp"></dnn:label></TD>
<TD align="left" width="100%">
<asp:textbox id="txtCaptionHelp" cssclass="NormalTextBox" runat="server" maxlength="255" columns="30"
width="325"></asp:textbox>
</TD>
</TR>
<TR>
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" noWrap width="150"><dnn:label id="plFieldType" runat="server" resourcekey="FieldType" suffix=":" controlname="drpFieldType"></dnn:label></TD>
<TD align="left" width="100%">
<asp:dropdownlist id="drpFieldType" cssclass="NormalTextBox" runat="server" width="325" AutoPostBack="true"></asp:dropdownlist>
</TD>
</TR>
<TR runat="server" id="trFieldElements">
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" noWrap width="150"><dnn:label id="plFieldElements" runat="server" resourcekey="FieldElements" suffix=":" controlname="txtFieldElements"></dnn:label></TD>
<TD align="left" width="100%">
<asp:textbox id="txtFieldElements" cssclass="NormalTextBox" runat="server" columns="30" width="325"></asp:textbox>
<asp:requiredfieldvalidator id="valFieldElements" cssclass="NormalRed" runat="server" resourcekey="valFieldElements" controltovalidate="txtFieldElements"
errormessage="<br>You Must Enter a Valid Field Element" display="Dynamic" />
<asp:Label ID="lblFieldElementHelp" Runat="server" ResourceKey="FieldElementHelp" CssClass="Normal" />
</TD>
</TR>
<TR>
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" noWrap width="150"><dnn:label id="plDefaultValue" runat="server" resourcekey="DefaultValue" suffix=":" controlname="txtDefaultValue"></dnn:label></TD>
<TD align="left" width="100%">
<asp:textbox id="txtDefaultValue" cssclass="NormalTextBox" runat="server" maxlength="255" columns="30"
width="325"></asp:textbox>
</TD>
</TR>
<tr id="trMaximumLength" runat="Server">
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<td class="SubHead" width="150"><dnn:label id="plMaximumLength" runat="server" controlname="txtMaximumLength" suffix=":"></dnn:label></td>
<td valign="bottom">
<asp:TextBox ID="txtMaximumLength" Runat="server" CssClass="NormalTextBox" width="325"
columns="10" maxlength="6" />
<asp:CompareValidator ID="valMaximumLengthIsNumber" Runat="server" ControlToValidate="txtMaximumLength"
Display="Dynamic" ResourceKey="valMaximumLengthIsNumber.ErrorMessage" CssClass="NormalRed" Operator="DataTypeCheck" Type="Integer" />
</td>
</tr>
</TABLE>
<br />
<asp:PlaceHolder ID="phRequired" runat="Server">
<dnn:sectionhead id="dshRequiredDetails" cssclass="Head" runat="server" text="Required Details" section="tblRequiredDetails"
resourcekey="RequiredDetails" includerule="True"></dnn:sectionhead>
<table id="tblRequiredDetails" cellSpacing="0" cellPadding="2" width="100%" summary="Required Details Design Table"
border="0" runat="server">
<TR>
<TD colSpan="3">
<asp:label id="lblRequiredDetails" cssclass="Normal" runat="server" resourcekey="RequiredDetailsDescription"
enableviewstate="False"></asp:label></TD>
</TR>
<TR vAlign="top">
<TD width="25"><IMG height=1 src='<%= Page.ResolveUrl("~/Images/Spacer.gif") %>' width=25></TD>
<TD class="SubHead" noWrap width="150"><dnn:label id="plRequired" runat="server" resourcekey="Required" suffix=":" controlname="chkRequired"></dnn:label></TD>
<TD align="left" width="100%">
<asp:checkbox id="chkRequired" cssclass="NormalTextBox" runat="server"></asp:checkbox>
</TD>
</TR>
</table>
<br />
</asp:PlaceHolder>
<p align="center">
<asp:linkbutton id="cmdUpdate" resourcekey="cmdUpdate" runat="server" cssclass="CommandButton" text="Update"
borderstyle="none" />
<asp:linkbutton id="cmdCancel" resourcekey="cmdCancel" runat="server" cssclass="CommandButton" text="Cancel"
causesvalidation="False" borderstyle="none" />
<asp:linkbutton id="cmdDelete" resourcekey="cmdDelete" runat="server" cssclass="CommandButton" text="Delete"
causesvalidation="False" borderstyle="none" />
</p>