Advertisement
Guest User

Untitled

a guest
Sep 15th, 2011
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 6.09 KB | None | 0 0
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="EnterData.DataEntry.WebForm1" %>
  2.  
  3.  
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5.  
  6. <html xmlns="http://www.w3.org/1999/xhtml" >
  7. <head runat="server">
  8.     <title></title>
  9.     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
  10.     <link href="../niceforms/niceforms-default.css" rel="stylesheet" type="text/css" />
  11.     <script src="../niceforms/niceforms.js" type="text/javascript"></script>
  12.    
  13.     <link href="../jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
  14.  
  15.     <script src="../jquery-ui-1.8.16.custom.min.js" type="text/javascript"></script>
  16.  
  17.     <script src="../jquery-1.6.2.min.js" type="text/javascript"></script>
  18.     <script>
  19.         jQuery(function($) {
  20.         //$("#occurrence_dateTextBox").mask("99/99/9999");
  21.         //$("#<%= report_dateTextBox.ClientID %>").mask("99/99/9999");
  22.         $("#<%= occurrence_dateTextBox.ClientID %>").datepicker();
  23.         //$(".datepicker").datepicker();
  24.  
  25.     });
  26.     $(function() {
  27.         $.get('../file.txt', function(data) {
  28.             var output = data.split(','),
  29.             tmp = '';
  30.             for (i = 0; i < output.length; i++) {
  31.                tmp += '<option value=' + output[i] + '>' + output[i] + '</option>';
  32.             }
  33.             $('#lstProblems').html(tmp);
  34.  
  35.         });
  36.     });
  37.    
  38.     </script>
  39. </head>
  40. <body><div id="container">
  41.     <form id="form1" runat="server" class="niceform">
  42.    
  43.         <fieldset>
  44.  
  45.         <legend>Section A</legend>
  46.  
  47.         <dl>
  48.  
  49.             <dt><label for="occurrence_dateTextBox" class="datepicker">Occurrence Date:</label></dt>
  50.             <dd><asp:TextBox ID="occurrence_dateTextBox" runat="server" size="50"/></dd>
  51.         </dl>
  52.        
  53.         <dl>
  54.  
  55.             <dt><label for="report_dateTextBox">Report Date:</label></dt>
  56.             <dd><asp:TextBox ID="report_dateTextBox" runat="server" size="50"/></dd>
  57.         </dl>
  58.        
  59.        
  60.         <dl>
  61.  
  62.             <dt><label for="spec_idTextBox">Specimen ID:</label></dt>
  63.             <dd><asp:TextBox ID="spec_idTextBox" runat="server" size="50"/></dd>
  64.         </dl>
  65.        
  66.         <dl>
  67.  
  68.             <dt><label for="batch_idTextBox">Batch ID:</label></dt>
  69.             <dd><asp:TextBox ID="batch_idTextBox" runat="server" size="50"/></dd>
  70.         </dl>
  71.        
  72.         <dl>
  73.  
  74.             <dt><label for="report_byTextBox">Report By:</label></dt>
  75.             <dd><asp:TextBox ID="report_byTextBox" runat="server" size="50"/></dd>
  76.         </dl>
  77.        
  78.         <dl>
  79.  
  80.             <dt><label for="identified_byTextBox">Identified ID:</label></dt>
  81.             <dd><asp:TextBox ID="identified_byTextBox" runat="server" size="50"/></dd>
  82.         </dl>
  83.        
  84.         </fieldset>
  85.        
  86.         <fieldset>
  87.         <legend>Section B</legend>
  88.        
  89.         <dl>
  90.  
  91.             <dt><label for="problemTextBox">Problem:</label></dt>
  92.             <dd><asp:TextBox ID="problemTextBox" runat="server" size="50"/></dd>
  93.            
  94.            
  95.         </dl>
  96.        
  97.         <dl>
  98.             <dt><label for="lstProblems">Problems List:</label></dt>
  99.             <dd><asp:ListBox ID="lstProblems" runat="server" width="300" SelectionMode="Multiple"></asp:ListBox></dd>
  100.                        
  101.         </dl>  
  102.        
  103.         </fieldset>
  104.        
  105.         <fieldset>
  106.         <legend>Section C</legend>
  107.         <dl>
  108.  
  109.             <dt><label for="section_c_issue_error_identified_byTextBox">Issue/Error Identified By:</label></dt>
  110.             <dd><asp:TextBox ID="section_c_issue_error_identified_byTextBox" runat="server" size="50"/></dd>
  111.            
  112.            
  113.         </dl>
  114.        
  115.         <dl>
  116.  
  117.             <dt><label for="section_c_commentsTextBox">Comments:</label></dt>
  118.             <dd><asp:TextBox ID="section_c_commentsTextBox" runat="server" size="50"/></dd>
  119.            
  120.            
  121.         </dl>      
  122.        
  123.         </fieldset>
  124.        
  125.         <fieldset>
  126.         <legend>Section D</legend>
  127.         <dl>
  128.  
  129.             <dt><label for="section_d_investigationTextBox">Investigation:</label></dt>
  130.             <dd><asp:TextBox ID="section_d_investigationTextBox" runat="server" size="50"/></dd>
  131.            
  132.            
  133.         </dl>
  134.        
  135.         </fieldset>
  136.        
  137.         <fieldset>
  138.         <legend>Section E</legend>
  139.         <dl>
  140.  
  141.             <dt><label for="section_e_corrective_actionTextBox">Corrective Action:</label></dt>
  142.             <dd><asp:TextBox ID="section_e_corrective_actionTextBox" runat="server" height="200" TextMode="MultiLine" size="50"/></dd>
  143.            
  144.            
  145.         </dl>
  146.        
  147.        
  148.         </fieldset>
  149.        
  150.         <fieldset>
  151.         <legend>Section F</legend>
  152.         <dl>
  153.  
  154.             <dt><label for="section_f_commentsTextBox">Comments:</label></dt>
  155.             <dd><asp:TextBox ID="section_f_commentsTextBox" runat="server" size="50"/></dd>
  156.            
  157.            
  158.         </dl>
  159.        
  160.         </fieldset>
  161.        
  162.         <fieldset>
  163.         <legend>Pre-Analytical</legend>
  164.         <dl>
  165.  
  166.             <dt><label for="prePracticeCodeTextBox">Practice Code:</label></dt>
  167.             <dd><asp:TextBox ID="prePracticeCodeTextBox" runat="server" Visible="false"/></dd>
  168.            
  169.            
  170.         </dl>
  171.        
  172.         <dl>
  173.  
  174.             <dt><label for="preContactTextBox1">Contact:</label></dt>
  175.             <dd><asp:TextBox ID="preContactTextBox" runat="server" Visible="false"/></dd>
  176.            
  177.            
  178.         </dl>
  179.        
  180.         <dl>
  181.             <dt><label for="CheckBox1">PreAnalytical?</label></dt>
  182.             <dd> <asp:CheckBox ID="CheckBox1" runat="server" CausesValidation="false"
  183.                            Visible="true" AutoPostBack="true" OnCheckChanged="CheckBox1_CheckedChanged"/></dd>
  184.         </dl>
  185.        
  186.        
  187.         </fieldset>
  188.        
  189.        
  190.    
  191.         <asp:Button ID="Button1" runat="server" Text="Button" OnClick="SubmitData" />
  192.        
  193.    
  194.     </form>
  195. </div></body>
  196. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement