我在我的网络浏览器中禁用了 JavaScript,并且我有一个带有文本框和按钮的页面。我在我的测试箱上保留了必需的字段验证控制。当我运行页面时,单击按钮我在我的文本框中获得验证。我应该如何在我的页面中禁用此验证。我尝试使用 Page.validation(); 也但没有解决方案...当我的网络浏览器中禁用 javascript 时,你能建议我如何在测试箱上禁用此验证吗
<asp:Table ID="tbl1" runat="server" Width="197px">
<asp:TableRow>
<asp:TableCell>
<asp:Label ID="lblname" runat="server" Text="Name"></asp:Label>
</asp:TableCell>
<asp:TableCell>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
</asp:TableCell>
<asp:TableCell Width="60%">
<asp:RequiredFieldValidator Width="300%" ID="rqname" runat="server" BackColor="Red" ControlToValidate="txtName" Text="Please enter Name"></asp:RequiredFieldValidator>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell>
<asp:Button ID="btnone" runat="server" Text="Click" />
</asp:TableCell>
</asp:TableRow>
</asp:Table>