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'@@
}
#%}
↧