Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Tutorial - Implementing Captcha In DNN ModuleTutorial - Implementing Captcha In DNN Module
Previous
 
Next
New Post
1/27/2008 6:33 PM
 

I have just posted a new tutorial on my blog site that explains how to use the DotNetNuke Captcha control in a custom module project.  Please use the link below to view the tutorial.

Using the DotNetNuke Captcha Control


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
2/12/2008 6:15 PM
 

Hi Mitch,

Nice tutorial. Question on the DNN Captcha control itself, if you know. Does it use session state or viewstate or something else? I'm trying to avoid a problem in the event of deploying a module that uses it in a load balanced production environment.

Thanks,

Ralph


Ralph
Search for Senior Housing and Senior Living Options
http://www.snapforseniors.com
 
New Post
2/13/2008 10:52 AM
 

As far as I know it is viewstate as the core does not use session to allow web farm environments


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/14/2009 4:06 PM
 

Thanks for the tutorial, Mitch (and many of your others, too!).  I took over a module that uses Captcha from someone that had obviously read and used your tutorial.  We used it successfully on all DNN versions 4.6 though 4.9.  

Starting with a clean install of 5.0, I have successfully installed our Captcha module, and added that module to our custom Enrollment (registration) page.  The module is primarily an asp:wizard control, and the Captcha control is on one of the latter .ascx's the wizard steps through.  When it comes time to display the .ascx containing the Captcha control, the previous .ascx just sits there and nothing changes.

Admin > Event Viewer captures a Page Load Exception due to a "Object reference not set to an instance of an object.", with a lengthy stack trace.  I include enough here to be suggestive:

 System.NullReferenceException: Object reference not set to an instance of an object. at
DotNetNuke.UI.WebControls.CaptchaControl.Render(HtmlTextWriter writer) at
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at
System.Web.UI.Control.Render(HtmlTextWriter writer) at
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at
System.Web.UI.WebControls.WizardStepBase.RenderChildren(HtmlTextWriter writer) at
...

Why would the Captcha control have a problem rendering?  What can I do about it?

TIA, Don Stuber

 
New Post
5/28/2009 1:22 PM
 

I also have this problem in 5.0 DNN... HELP!

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...Tutorial - Implementing Captcha In DNN ModuleTutorial - Implementing Captcha In DNN Module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out