Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8834

Kentico localization in ascx transformation IF statment

$
0
0
I felt it was easier to start a new thread here. In a previous thread (initial post) I was looking at dynamically adding a the open and close table tags in a repeater. As i'm working through the build in French, i'm struggling with using resource strings. Here's the code snippet:@%# IsFirst() ? "@table class='sortable col-3'@@thead@@tr@@th class=''@Date@/th@@th class='sorter-false'@Subject@/th@@th class='sorter-false'@From@/th@@/tr@@/thead@@tbody@" : "" %@I want to replace the string 'Subject' with a resource key. I've tried a macro approach, and concatenation of the c#, but i'm stuck.

Viewing all articles
Browse latest Browse all 8834

Trending Articles