Good day!!!

I have implemented the captcha verification to my application. But I am having a problem in it.
I cannot able to find methods that can only reload the captcha image.Instead I have to reload the entire page. Is there any wa y to do it.

This is my code as of now regarding captcha control

            Captcha1.ValidateCaptcha(TextBox1.Text.Trim());
            Label1.Visible = true;
            if (Captcha1.UserValidated)
            {

                Label1.ForeColor = System.Drawing.Color.Green;

                Label1.Text = "Valid";

            }

            else
            {

                Label1.ForeColor = System.Drawing.Color.Red;

                Label1.Text = "InValid";

            }

Can someone help me in this?

Thank you in advance.

Recommended Answers

All 2 Replies

Keep the Captcha in an Update Panel and only Refresh the Update Panel.

I used script manager followed by update panel... and it is working perfectly...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.