Platinum Partner

Loading Resources Programmatically

// load resources at runtime from resx files

// retrieves value of MyResourceKey from ResourceFile.resx located in App_GlobalResources folder

msg1.Text = (string) HttpContext.GetGlobalResourceObject("ResourceFile", "MyResourceKey");


// retrieves value of Page1Resource.Title key from Page1.resx file located in App_LocalResources folder
// in directory pointed by virtual path /MyFolder/Sample/

msg1.Text = (string) HttpContext.GetLocalResourceObject("/MyFolder/Sample/Page1.resx", "Page1Resource.Title");
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}