Reload Image?

Topics: General Help
Aug 11, 2008 at 6:35 AM
Edited Aug 11, 2008 at 6:39 AM
This seems to be a basic feature of CAPTCHA's but I can't find the way on how to do it with this control. Any help will be much appreciated. Thanks
Aug 11, 2008 at 10:36 AM

Do you mean you want a button that generates a new image on demand?

Create a custom template for the control (refer to the control's documentation for help) and inside add something like this:

<asp:Button runat="server" ID="getNewTestButton" Text="New" CausesValidation="False" />

Note that I haven't tested this myself.

I'll create a work item and add this functionality to the next release.

- Dave
Aug 11, 2008 at 10:55 AM
Work item:
Aug 12, 2008 at 5:44 AM
Hi dave thanks for the reply.
That solution might be the best for now, but is it possible to generate a new image without reloading the entire page? Thanks again!
Aug 12, 2008 at 12:27 PM

You could try placing the AIP control in an AJAX UpdatePanel control.

UpdatePanel Control Overview

- Dave