68 lines
3.6 KiB
Plaintext
68 lines
3.6 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="testEditor.aspx.cs" Inherits="testEditor" %>
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head runat="server">
|
|
<title></title>
|
|
<style type="text/css">
|
|
.auto-style1 {
|
|
width: 442px;
|
|
}
|
|
.auto-style2 {
|
|
width: 284px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
<%-- <table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="0" rules="none"
|
|
style="border-collapse: collapse;">
|
|
<tr class="EditFormHeader">
|
|
<td colspan="2" class="auto-style1">
|
|
<b>Time Entry Details</b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="auto-style1">
|
|
<table id="Table3" border="0" class="auto-style2">
|
|
<tr>
|
|
<td >Comments:</td>
|
|
|
|
<td>
|
|
<asp:TextBox ID="TextBox7" runat="server" Text='<%# Bind("Description") %>'>
|
|
</asp:TextBox>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Duration:
|
|
</td>
|
|
<td>
|
|
<asp:TextBox ID="HoursTbl" runat="server" Text='<%# Bind("Duration") %>' TabIndex="1" Width="31px"></asp:TextBox>
|
|
<asp:RequiredFieldValidator ID="RequiredfieldvalidatorTbl" runat="server" ErrorMessage="Hours is a required value."
|
|
ControlToValidate="HoursTbl" Display="Dynamic" ValidationGroup="newEntry"></asp:RequiredFieldValidator>
|
|
<asp:CompareValidator ID="CompareValidatorTbl1" runat="server" ErrorMessage="Hours must be a decimal value."
|
|
ControlToValidate="HoursTbl" Type="Currency" Operator="DataTypeCheck" Display="Dynamic"
|
|
ValidationGroup="editEntry"></asp:CompareValidator>
|
|
<asp:RangeValidator ID="RangeValidatorTbl1" runat="server" ErrorMessage="Hours is out of range."
|
|
ControlToValidate="HoursTbl" MaximumValue="24" MinimumValue="0" Type="Double" ValidationGroup="editEntry"></asp:RangeValidator>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<tr>
|
|
<td align="left" colspan="2" class="auto-style1">
|
|
<asp:ImageButton ImageUrl="images/icon-save.gif" ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
|
|
runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'></asp:ImageButton>
|
|
<asp:ImageButton ImageUrl="images/icon-cancel.gif" ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
|
|
CommandName="Cancel"></asp:ImageButton>
|
|
</td>
|
|
</tr>
|
|
</table>--%>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|