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  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Adding new properties to user profile fails. Please help!
Previous Previous
 
Next Next
New Post 5/25/2006 12:58 PM
User is offline ANP
58 posts
10th Ranked


Adding new properties to user profile fails. Please help! 

On DNN 4.0.3, I want to add more properties to a user profile by modifing the registration page and other related classes.  What I did wereadding a  text box and a dropdown list controls to user control user.axcx  and adding associated properties to its code behind file; adding associated properties to the UserProfile.vb then Modidfy the register.ascx.vb to assign the input from the usercontrol to the profile object; adding new properties to the configuration file.

It was recompiled successfully. However, when I registered a new user, the aspnet_profile table is not inserted with a new record (though the new user data was inserted to the aspnet_users correctly).

What did I do wrong or what did I miss? Please help. Any responses are appriciated!

Ann

 
New Post 6/6/2006 6:34 AM
User is offline Michael Flanakin
994 posts
www.michaelflanakin.com
7th Ranked




Re: Adding new properties to user profile fails. Please help! 
Don't modify the UserProfile class. Instead, use the UserProfile.ProfileProperties collection. This was added in DNN 3.2/4.0.

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Adding new properties to user profile fails. Please help!
 


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.

 


DocuPeak Business Process Management RAD
Comprehensive enterprise and government process management. Forms, documents, indexing, workflow, views, content intelligence, capture, etc. Point and click rapid application development.
www.Webiplex.com
ADefWebserver.com
DotNetNuke® Module Development Help Website
ADefWebserver.com
Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com

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