I'm not sure how much you want, b/c there's a lot of code in the code behind page.
On the HTML page, these are the textboxes...
Code:
<TR>
<TD style="WIDTH: 126px; HEIGHT: 26px">
Study Code:*
</TD>
<TD style="WIDTH: 206px; HEIGHT: 26px">
<asp:textbox id="txtstudycode"
Runat="server" Columns="24" MaxLength="24"></asp:textbox>
</TD>
</TR>
<tr>
<TD style="WIDTH: 126px; HEIGHT: 28px">
Study Name:*
</TD>
<TD style="WIDTH: 206px; HEIGHT: 28px">
<asp:textbox id="txtstudyname" Runat="server" Columns="24"
MaxLength="24"></asp:textbox>
</TD>
</tr>
These are the validators....
Code:
<asp:RequiredFieldValidator id="valStudyCode" style="Z-INDEX: 104; LEFT: 24px;
POSITION: absolute; TOP: 192px" runat="server" Font-Size="Smaller" ControlToValidate="txtstudycode"
ErrorMessage="Required Field: Study Code is
Required"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator id="valStudyName" style="Z-INDEX: 105; LEFT: 24px;
POSITION: absolute; TOP: 208px" runat="server" Font-Size="Smaller"
ControlToValidate="txtstudyname"
ErrorMessage="Required Field: Study Name is
Required"></asp:RequiredFieldValidator></DIV>
Here is what I think may be relevant in the code behind page.
Code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not (Page.IsPostBack) Then
chech_admin()
BindTheTA()
BindThePhase()
BindTheCSL()
End If
changetabs()
End Sub
Private Sub lnksubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lnksubmit.Click
insert_study()
End Sub
Private Sub lnkReset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lnkReset.Click
clear_all()
End Sub
Sub insert_study()
(code here)
End Sub
Sub clear_all()
(code here clears all fields)
End Sub