User Control

28. February 2010

This is an implementation of a generic C# contest entry user control (.ascx) which is embedded in a blog entry using the BlogEngine.NET format.

 

For BlogEngine.NET users:

It is easy to enter a user control on a blog page in BlogEngine.NET, just type the following into your blog:

See the following link for more details: User Control Injection in BlogEngine.NET 

 

C# User Control:

The user control shown here is for entering on-line contests.  Validation of the contest entry parameters is done primarily on the client side.   Once validated, the entries are encrypted and then loaded into SQL Server.  I also added a captcha to prevent programs from entering contests (although that doesn’t appear to be working presently).

 

John Dorsey
IT Brigade Inc.
 www.itbrigadeinc.com

 

 

 

 

Enter the Sweepstakes below for your chance to WIN!
Must be 18 to enter
Contest Runs Between 1/6/2012 and 3/6/2012
Gender 
First Name  
Last Name  
Address 1 
Address 2
City  
State 
Zipcode  
Year of Birth  
Home Phone  
Email  
Enter Text     
No purchase necessary to enter or win. See the Official Rules for eligibility requirements and complete details.
 

BlogEngine.NET , , , , ,

Comments