<asp:TextBox ID="txt_Subject" runat="server" CssClass="txt_box"></asp:TextBox>
<asp:RequiredFieldValidator ID="valSubjectRequired" ControlToValidate="txt_Subject"
ErrorMessage="Subject is a required field." EnableClientScript="true" Display="None"
runat="server" />
<asp:ValidationSummary ID="ValSummary" HeaderText="" ShowSummary="True" DisplayMode="List"
runat="server" Style="z-index: 1; left: 437px; top: 118px; color: Maroon; />
I have this text box and validation controls. I have many text box and every text box is a required field I display the error message in the validation summary. I have positioned the validation summary below the form. I have text box and labels inside the table tag. How can I display the error message next to the text box. I have to scroll down and Up to find out what are the req fields. Instead I want to display next to the text box.