I'm using the ProfileEditorControl in my own module to display a specific list of user profile properties. It's working great except I'm not getting the localized text. This means that the actual property name and not the entered more friendly name is displayed. Since I can't change the actual property name there is no way for me to see "First Name:" instead of "FirstName".
I've tried the following:
1) Setting the LocalResourceFile property of my ProfileEditorControl to point to DotNetNuke.Common.ApplicationPath & "/Admin/Users/App_LocalResources/Profile" which is where it points to when used on the DNN Profile.ascx control.
2) Setting the LocalResourceFile property of my ProfileEditorControl to point to Me.LocalResourceFile and copying Profile.ascx.Portal-0.resx to my module's App_LocalResource folder.
3) Leaving he LocalResourceFile property of my ProfileEditorControl blank and copying Profile.ascx.Portal-0.resx to my module's App_LocalResource folder.
I've also tried #2 and #3 with Profile.ascx.Portal-0.resx renamed to match my module's control ASCX file with and without the Portal-0.
Nothing I've tried has worked and my attempts to look at / step through the code has not helped a whole lot. I thought I understood how localization in ASP.NET and DNN worked but this one has got me stumpted. Does anybody have any other suggestions for me?