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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

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.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  Blank Localization of Mass Email
Previous Previous
 
Next Next
New Post 3/30/2007 2:41 AM
User is offline detomo
7 posts
www.dunknet.net
10th Ranked


Blank Localization of Mass Email 
I've used the bulk email control from the Users admin module to create a simple custom Mass Email module, but cannot get the localization to display in instances of the new module.

The custom module only contains a registration of the bulkemail.ascx control, and an instance of the control. I have  tried using the resource files from the Users admin section and the ones created by default by the DotNetNuke Module Template, but have had no success in displaying localization messages.

Other custom modules I have created have working localization, but not this one.

Duncan



 
New Post 3/30/2007 8:48 AM
User is offline Chris Hammond
2677 posts
engagesoftware.com
5th Ranked








Re: Blank Localization of Mass Email 
When referencing external controls sometimes you have to specifically define the resource files reference when you load the control, depending on how you load them. I'm trying to find an example of code I've used in the past.
Chris Hammond
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
New Post 3/30/2007 9:01 AM
User is offline Chris Hammond
2677 posts
engagesoftware.com
5th Ranked








Re: Blank Localization of Mass Email 
Modified By Chris Hammond  on 3/30/2007 12:02:14 PM)

In our publish module we load some controls on our edit form that actually get loaded multiple times. In order to do that successfully we had to define the localresource file for each.

I don't know if this will help, but here's what we ended up using, (in C# of course)

private string ItemrelationshipResourceFile = "~" + DesktopModuleFolderName + "Controls/App_LocalResources/ItemRelationships";

this.ipc = (ItemRelationshipsBase) LoadControl("../controls/ItemRelationships.ascx");
this.ipc.ModuleConfiguration = ModuleConfiguration;
this.irc = (ItemRelationshipsBase)LoadControl("../controls/ItemRelationships.ascx");
this.ipc.LocalResourceFile = ItemrelationshipResourceFile;
this.ipc.VersionInfoObject = VersionInfoObject;
this.ipc.ListRelationshipTypeId = RelationshipType.ItemToParentCategory.GetID();
this.ipc.CreateRelationshipTypeId = RelationshipType.ItemToParentCategory.GetID();
this.ipc.AvailableSelectionMode = ListSelectionMode.Single;
this.ipc.IsRequired = true;
this.ipc.FlatView=true;
this.ipc.ItemTypeId = ItemType.Category.GetID();
this.phRelationships.Controls.Add(this.ipc);


Chris Hammond
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
New Post 4/3/2007 1:19 AM
User is offline detomo
7 posts
www.dunknet.net
10th Ranked


Re: Blank Localization of Mass Email 
Thanks!

I'll give it a go.
 
New Post 4/3/2007 9:21 AM
User is offline detomo
7 posts
www.dunknet.net
10th Ranked


Re: Blank Localization of Mass Email 
Got it working now. That piece of code got me heading in the right direction.

All I did was specifically declare the LocalResourceFile for that  control.

Cheers!
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Language Packs ...  Blank Localization of Mass Email
 


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.

 


DNN Photo Gallery
Complete Photo Gallery Management!
www.dnnPhotoGallery.com
R2i - Delivering Serious DNN Services & Solutions
Award Winning Design, Skin construction, Custom Modules and Consulting Services for the Enterprise organization. R2i is the DNN:Map module Project Lead and one of the largest DNN service providers with offices in New York City, Virginia and Baltimore.
www.bi4ce.com
"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com

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