Welcome Guest Search | Active Topics | Sign In | Register

Captcha inside UpdatePanel has not Styling Options
Sadjad Bahmanpour
Posted: Wednesday, June 19, 2013 2:40:18 PM
Rank: Member
Groups: Member

Joined: 6/19/2013
Posts: 23
If I put an Captcha inside an asp.net UpdatePanel , the ImageStyle and TextBoxStyle and RefreshLinkStyle and AudioLinkStyle are not applied.
Stripping it down to a bare bones example (for an asp.net 3.5 site):

<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<eo:Captcha runat="server" ID="Captcha1" PromptHtml="">
<ImageStyle CssText="border: solid 1px #c0c0c0; float: left;margin-right:5px;" />
<TextBoxStyle CssText="border: solid 1px #b7d9ed;margin-top:3px;padding-left:2px;padding-right:2px;padding-top:1px;padding-bottom:1px;width:146px;" />
<RefreshLinkStyle CssText="margin-left:5px;" />
<AudioLinkStyle CssText="margin-left:5px;margin-bottom:20px;" />
</eo:Captcha>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<div>
<eo:Captcha runat="server" ID="Captcha2" PromptHtml="">
<ImageStyle CssText="border: solid 1px #c0c0c0; float: left;margin-right:5px;" />
<TextBoxStyle CssText="border: solid 1px #b7d9ed;margin-top:3px;padding-left:2px;padding-right:2px;padding-top:1px;padding-bottom:1px;width:146px;" />
<RefreshLinkStyle CssText="margin-left:5px;" />
<AudioLinkStyle CssText="margin-left:5px;margin-bottom:20px;" />
</eo:Captcha>
</div>
</form>


The first Captcha inside the UpdatePanel will have no Style but the second one outside the UpdatePanel does display the styling. If the UpatePanel is removed, both Captcha display the styling. (There is no other CSS on the page or in any attached style sheet.)

I've found the same problem here http://www.essentialobjects.com/forum/postst6569_EditableLabel-inside-UpdatePanel-has-no-styling.aspx with EditableLabel which is fixed now.
eo_support
Posted: Wednesday, June 19, 2013 9:09:08 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

We have posted a new build that should fix this problem. Please see your private message for the download location.

Thanks!
Sadjad Bahmanpour
Posted: Thursday, June 20, 2013 1:58:53 PM
Rank: Member
Groups: Member

Joined: 6/19/2013
Posts: 23
Hi,

Thanks for the fast support. And yes it does work for me. Also about licensing, do I need to generate a new license key to use this new build?
eo_support
Posted: Thursday, June 20, 2013 2:13:56 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Can you PM us your license ID so that we can take a look?

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.