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