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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksLocalResourceFile() not workingLocalResourceFile() not working
Previous
 
Next
New Post
6/28/2006 10:58 AM
 

/DotNetNuke2/DesktopModules/GuestBook/App_LocalResources/

LocalResourceFile()
/DotNetNuke2/DesktopModules/GuestBook/App_LocalResources/ViewGuestBook

 

I am using DotNetNuke_4.3.1

I have a textfield in my user control ViewGuestBook.ascx like this:
<asp:TextBox ID="txtTest" runat="server"></asp:TextBox>

I have the following code in ViewGuestBook.ascx.vb:
txtTest.Text = LocalResourceFile()

When I am logged in the textfield shows "/DotNetNuke2/DesktopModules/GuestBook/App_LocalResources/ViewGuestBook" which is the correct value, but when I am not logged in it shows "/DotNetNuke2/DesktopModules/GuestBook/App_LocalResources/". For some reason it is not showing the proper path to the resource file. This is causing problems in my module when the user is not logged in. In the page settings if "All Users" is given "Edit Page" permission, then the textfield shows the proper value even when the user is not logged in.

I am not sure if I am doing anything wrong or if this is a bug in DNN 4.3.1. I would really appreciate if someone can help me identify the problem.

Thanks in advance.

 
New Post
7/2/2006 11:24 AM
 

Hi,

I am getting this exact same problem.  From what i'm seeing is that the ID of the portalmodulebase is not being set.  I added MyBase.ID = "ControlName" in the page load, and it works fine now.  I have not had time to fully track this all the down to why its not being set, if i have time I will dig more into this.

Andrew

 
New Post
7/4/2006 12:10 AM
 
Thanks a lot for your reply.

The weird thing is that the problem simply disappeared today. I didn't even touch the code.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsLanguage PacksLanguage PacksLocalResourceFile() not workingLocalResourceFile() not working


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