Thank you for reporting this problem. It seems that, when the ImageStorageLocation
property is being set dynamically, it does not get applied correctly to the CaptchaImage. For the time being, use the following workaround, that sets the correct URL to the Image:
sender, EventArgs e)
RadCaptcha1.ImageStorageLocation = CaptchaImageStorage.Session;
///Workaround when ImageStorageLocation set dynamically
Image img = RadCaptcha1.Controls.Controls
UpdatePanel up = RadCaptcha1.Controls.Controls
Image img1 = up.ContentTemplateContainer.Controls
imgURL = img.ImageUrl;
imgURL = imgURL.Substring(0, imgURL.IndexOf(
imgURL = imgURL +
(RadCaptcha1.ImageStorageLocation == CaptchaImageStorage.Session)
imgURL = imgURL + (
img.ImageUrl = imgURL;
img1.ImageUrl = imgURL;
Place this code, right after the one that creates the RadCaptcha object. Please let me know if you have any problems with the workaround (or anything else).
The issue will be fixed for the next official release of RadControls for ASP.NET AJAX.
I have updated your account with 500 Telerik points, for bringing this problem to our attention.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.