0
私の検証は、ブロックまたはフィールドセットで動作します。オーナーブロックまたはフィールドセットのテキストボックスの検証方法(HTMLコントロール)
<fieldset>
<legend>block</legend>
<input placeholder="ID" id="txtID" type="text" value="" runat="server" required oninvalid="this.setCustomValidity('please fill this')"/>
<asp:Button runat="server" ID="Button1" Text="Ok" />
</fieldset>
ありがとうございます。