kasunkv / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

"Duplicate call to Validate() method" error when using within ASP.NET 3.5 ListView InsertItemTemplate #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a ListView to a page and setup the datasource, LayoutTemplate,
ItemTemplate, and InsertItemTemplate.
2. Add a recaptcha control to the InsertItemTemplate.
3. Attempt to submit from the InsertItemTemplate.

What is the expected output? What do you see instead?
I would expect the control to validate the captcha text and return an error
message if invalid.  Instead, I get an error that reads "Duplicate call to
Validate() method. reCAPTCHA have been validated. Use IsValid property to
retrieve the validation result."

What version of the product are you using? On what operating system?
ASP.NET 3.5
recaptcha 1.0.2.0
Windows Vista Ultimate 64-bit

Please provide any additional information below.
The Page and ListView are controlling all of the calls to Validate() and
IsValid.  This has to be fixed in the code since I cannot change anything
on my end (i.e. I am not calling Validate() directly).

Original issue reported on code.google.com by jnu...@gmail.com on 10 Jun 2009 at 5:13

GoogleCodeExporter commented 8 years ago
this codes working to wordpress?

but http://swatchesmen.com and http://buydigitalcamera.com my websites this 
cods dont work :(

Original comment by wordpresspremiumus@gmail.com on 16 Sep 2010 at 12:39

GoogleCodeExporter commented 8 years ago

Original comment by adrian.g...@gmail.com on 1 Dec 2010 at 10:47

GoogleCodeExporter commented 8 years ago

Original comment by adrian.g...@gmail.com on 30 Mar 2012 at 6:16