Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Captcha Web Control - Maintaining ViewState
Previous Previous
 
Next Next
New Post 5/27/2008 1:41 PM
Unresolved
User is offline Data Springs Inc.
97 posts
www.datasprings.com/default.aspx?tabid=367
10th Ranked


Captcha Web Control - Maintaining v13wstat3 

Hi guys... We have several modules and areas of code that dynamically add the DNN Captcha web control to a page. We are running into issues between postbacks with maintaing the controls v13wstat3. Here is the basics...

1. Between postbacks if the page changes (as far as what controls are there, which controls are not there, etc...) and Captcha is present the the entire page creates a v13wstat3 error.

2. If I turn CaptchaControl.Enablev13wstat3 = False - Then I get no errors for failed to load v13wstat3 upon postback, however I don't have access to that property of what the correct Captcha field is. 

I have tried and tested several options but I keep running into v13wstat3 problems. If Enablev13wstat3=True is set and the page posts back with different controls being displayed/not displayed then the control will throw a v13wstat3 error, if the Enablev13wstat3=False then the control doesn't throw any errors however I have no access to what the image is.

 

Any ideas?

 

-Chad

 

 
New Post 5/27/2008 11:31 PM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Captcha Web Control - Maintaining v13wstat3 

asp.net does not have the ability to manage v13wstat3 for dynamic controls by default.

Is the captchcontrol the only control that is being loaded dynamically ?

If so how are you managing its v13wstat3 - you need to use something like Denis Bauers's
Dynamic Placeholder code if you want the state of the captcha field to be tracked properly

http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder.aspx

Westa

 
New Post 5/28/2008 9:21 AM
User is offline Mitch Sellers
5712 posts
www.mitchelsellers.com
3rd Ranked




Re: Captcha Web Control - Maintaining v13wstat3 

Wes' option will work, but I had major problems when using Denis Bauers' placeholder in my code.

I have gotten around it by just setting the visbility of the Captcha, it isn't the most elegant, but it is the most functional.


-Mitchel Sellers
MCITP, MCPD, MCTS
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 Consulting Quotes, and DNN Technical Support Services

I reccomend 3Essentials for shared hosting and BaseCamp for project management
 
New Post 6/4/2008 9:52 PM
User is offline Data Springs Inc.
97 posts
www.datasprings.com/default.aspx?tabid=367
10th Ranked


Re: Captcha Web Control - Maintaining v13wstat3 

Hi guys... Thanks for your input. What exactly do you mean by 'setting the visiblity'?

As far as what fields are dynamic... they are actually all dynamic, but this is the only one where the v13wstat3 is not being processed properly. If I don't enable the v13wstat3 then I have no access to what the actual code should be, and if I do enable to v13wstat3 then after postback if the fields on the page change very much I get an error related to failure to load v13wstat3. This is the only control I am having this problem with (at this point at least). I might try placing the control in an actual file.ascx (instead of just adding it dynamically) but I am not sure why this would be necessary or if it would work differently.

 

-Chad

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Captcha Web Control - Maintaining ViewState
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP