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  |  

Maximum ASP
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Language Packs ...  Blank Localization of Mass Email
Previous Previous
 
Next Next
New Post 3/30/2007 3: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 9:48 AM
User is offline Chris Hammond
2885 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 10:01 AM
User is offline Chris Hammond
2885 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 2: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 10: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.

 


Customer Connect
Customer Connect provides cutting edge solutions that deliver sales, marketing and customer service results.
www.customer-connect.com
TechNexxus
Business process and technology sourcing solutions delivering superior people, process and value. We have used, and continue to use, DNN successfully in numerous client projects to deliver exceptional value. We are proud to support the DNN team and community.
www.technexxus.com
PartnerPoint | Community of Microsoft Partners
PartnerPoint is one of the largest and most active online communities of Microsoft Partners worlwide with over 8,000 members.
www.PartnerPoint.com

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