TextBox
の中にCreateUserWizard
ある を見つけるのに問題がありContentPlaceholder
ます。
CustomValidator
このテキストボックスには があります。私がCustomValidator
外側に置くとき、CreateUserWizard
それは言うcannot find controltovalidate control id CaptchaValue
これが私の中の行ですCreateUserWizard
<CreateUserWizard>
<tr>
<td align="left">
<asp:TextBox ID="CaptchaValue" runat="server" CssClass="texty"></asp:TextBox>
</td>
</tr>
</CreateUserWizard>
そして私はCustomValidator
外側を持っていCreateUserWizard
ます:
<asp:CustomValidator ID="CustomValidator5" runat="server" ControlToValidate="CaptchaValue"
ErrorMessage="Image value must match"
ValidationGroup="CreateUserWizard1" EnableClientScript="False">
</asp:CustomValidator>