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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error to show new property in user account in dnn6Error to show new property in user account in dnn6
Previous
 
Next
New Post
3/24/2012 6:53 AM
 
hello friend !


This is about to new profile property in DNN 06.01.04 -


I went to admin>User account> manage profile property
then add some new property like Company, Category etc. data type text & list respectively. and give property category name to business.visible to all user and all field are required.
it success fully show on property grid but not show in registration page.


I want to show all new category in user account show i can use it the code(c#) in Desktopmodule>admin>security>users.ascx


<asp:Label ID="Label3" Runat="server" Text='<%# DisplayEmail(((UserInfo)Container.DataItem).Profile.Company) %>'>
</asp:Label>
<asp:Label ID="Label3" Runat="server" Text='<%# DisplayEmail(((UserInfo)Container.DataItem).Profile.Category) %>'>
</asp:Label>


to show my new property along with default property like cell, telephone, Fax street etc.


{ <asp:Label ID="Label3" Runat="server" Text='<%# DisplayEmail(((UserInfo)Container.DataItem).Profile.Fax) %>'>
</asp:Label> } this code structure is work parfectly for default property not for new property}


after running the module show error like this


error CS1061: 'DotNetNuke.Entities.Users.UserProfile' does not contain a definition for 'Category' and no extension method 'Category' accepting a first argument of type 'DotNetNuke.Entities.Users.UserProfile' could be found (are you missing a using directive or an assembly reference?) ---> System.Web.HttpCompileException: 
 
Do anyone know why the new propery not show or the other code use in asp:label


I also want to 

* add user picture in another column
* and the grid data show only the selected roll(or specific roll)
* and the grid data show for the only authorised user only.
* the filter drop down show also the Display Name.
* the alphabat character filter to Displayname in place of username.


I Searh for It in Internet alot but i find nothing, show i want help for it.


thank you

 
New Post
3/24/2012 7:30 AM
 
you need to go to User Settings in Admin > Users and check "require valid profile for registration".

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/24/2012 8:46 AM
 

Sorry sir

i tried it both condition true and false its not working the option are show in edit profile.

thanks for quick answering

 
New Post
3/26/2012 2:36 AM
 
do the other profile properties show up on the registration page?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/26/2012 8:36 AM
 

thank you sir

Now the registration page is work and all new property work perfectly, thanks

but please see the other issue that i want and write on  top are not solved. i can not call them with code show on top along with display name. display name show as dnn colum but i want it show like other property like telephone on asp:label in admin>useraccount

example:  DisplayName:              Satish Kumar Chaturesh

Company: MyCompanyName(NewModuleVale)

Address: My Address(unit+street+City+region+country+telephone+cell+fax)

I try to create if you interested give me your mail address i can send you module that i want to create/modified you can install it ofline and see live problem i can send the graph image that i want to make please reply soon

thank for your interest..


 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error to show new property in user account in dnn6Error to show new property in user account in dnn6


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