We designed our Login page and used radCaptcha along with Generate New Image (EnableRefreshImage Option) and Vision Impaired (CaptchaImage.EnableCaptchaAudio Option). These option links are working fine in IE and FireFox but not in Chrome. In Chrome these are rendered like static text. I am attaching image of Login page. Following is the code I am using in Login page.
This is the ASPX code
This is the Server side code.
This is CSS Code.
If this is not clear, I can attach a sample project.
Please let me know whether I am doing any thing wrong or really radCaptcha is having compatibility issues with Chrome browser.
This is the ASPX code
<
telerik:RadCaptcha
ID
=
"CaptchaCode"
runat
=
"server"
ValidationGroup
=
"SubmitGroup"
CaptchaTextBoxLabel
=
" Type the code from the image"
CaptchaImage-TextChars
=
"Numbers"
BorderColor
=
"Black"
BorderWidth
=
"0"
ErrorMessage
=
""
CaptchaImage-Height
=
"40"
CaptchaImage-Width
=
"155"
width
=
"150"
CssClass
=
"font_captcha"
ForeColor
=
"Black"
Display
=
"Dynamic"
TabIndex
=
3
>
</
telerik:RadCaptcha
>
Private
Sub
Pages_Login_Load(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
Me
.Load
Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache)
AddHandler
Me
.loginButton.Click,
New
System.EventHandler(
AddressOf
loginButton_Click)
If
Not
Page.IsPostBack
Then
CaptchaCode.EnableRefreshImage =
True
CaptchaCode.CaptchaLinkButtonText =
"Generate New Image"
CaptchaCode.CaptchaImage.EnableCaptchaAudio =
True
CaptchaCode.CaptchaAudioLinkButtonText =
"Vision Impaired"
CaptchaCode.CaptchaImage.UseAudioFiles =
False
CaptchaCode.CaptchaImage.AudioFilesPath = HttpContext.Current.Server.MapPath(
"~/App_Data/RadCaptcha"
)
Page.DataBind()
End
If
txtUserID.Focus()
End
Sub
This is CSS Code.
.font_captcha
{
text-align
:
left
;
color
:
white
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
font-size
:
9px
;
font-weight
:
normal
;
}
.rcRefreshImage
{
margin-left
:
165px
;
margin-
top
:
-40px
;
font-size
:
10px
;
float
:
left
;
color
: White;
display
:
block
;
line-height
:
1.5em
;
background-image
:
url
(
'../Images/Captcha_reload.png'
);
background-repeat
:
no-repeat
;
height
:
20px
;
padding-left
:
30px
;
margin-top
:
-40px
;
width
:
120px
;
}
.rcCaptchaAudioLink
{
margin-left
:
165px
;
margin-
top
:
-17px
;
font-size
:
10px
;
float
:
left
;
color
: White;
display
:
block
;
line-height
:
1.5em
;
background-image
:
url
(
'../Images/Captcha_audio.png'
);
background-repeat
:
no-repeat
;
height
:
19px
;
padding-left
:
30px
;
margin-top
:
-20px
;
width
:
120px
;
}
Please let me know whether I am doing any thing wrong or really radCaptcha is having compatibility issues with Chrome browser.