Reload Image?

Topics: General Help
Aug 11, 2008 at 7:35 AM
Edited Aug 11, 2008 at 7: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 11: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 11:55 AM
Work item:
Aug 12, 2008 at 6: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 1:27 PM

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

UpdatePanel Control Overview

- Dave