ASP.NET Control always disappears after postback

417 views
Skip to first unread message

Victor Bello

unread,
May 2, 2011, 11:48:20 AM5/2/11
to reCAPTCHA
I've spent some hours on this. It's driving me insane. I use the
ASP.NET DLL to wire up the reCaptcha control on my form, everything is
great until I hit ANY button.

Couple of things happen, 1. Control disappears, 2. Validation ALWAYS
returns false.

After a lot of research there is NOTHING that I can do to make it
work, I also saw the strangest thing on the HTML Markup after
postback. It looks like it's HTML Encoding the control.

<script src="http://www.google.com/recaptcha/api/challenge?k=SUPERKEY"
type="text/javascript">
<noscript> &lt;iframe src="http://www.google.com/recaptcha/api/
noscript?k=SUPERKEY" width="500" height="300" frameborder="0"&gt; &lt;/
iframe&gt;&lt;br /&gt;&lt;textarea name="recaptcha_challenge_field"
rows="3" cols="40"&gt;&lt;/textarea&gt;&lt;input
name="recaptcha_response_field" value="manual_challenge"
type="hidden" /&gt; </noscript>

Weird. Please help?

Adrian Godong

unread,
May 2, 2011, 12:13:19 PM5/2/11
to reca...@googlegroups.com
Are you using any Javascript component (UpdatePanel, ModalPopup, etc)?
If yes, then that's probably the cause.

> --
> You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
> To post to this group, send email to reca...@googlegroups.com.
> To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.
>
>

--
Adrian Godong
adrian...@gmail.com

Reply all
Reply to author
Forward
0 new messages