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

Text/XML transformation: unable to resolve to a property (bool/check-box) of a webpart

$
0
0
The property of the webpart is called @HorizontalLayout@. I know the following syntax is- from a K# processing perspective - OK; what it doesn't work is resolving to the property of the webpart; that evaluation is always false; pulling my hair here already ;){% if(Eval(HorizontalLayout)) { @@ul id='main-menu' class='sm sm-blue sm-vertical collapsed'@@ } else { @@ul id='main-menu' class='sm sm-blue collapsed'@@ } #%}

Viewing all articles
Browse latest Browse all 8832

Trending Articles