Hi all,
I had posted in the 7.2 category, but i think this is more to do with my lack of Razor knowledge.
Im playing around with the 7.2 grid layout and was wanting to change the numeric grid value to a word value. Niels kindly pointed me in the direction of function that did this, but being a designer type, its a bit beyond me.
I have the function NumberWords, but im having trouble passing the area.grid value through it. I can use a numerical value within the helper below "@NumberWords(4)", but im stumped on how to pass the "@area.grid" value in its place.
Grid Layout - Integer to Text
Hi all, I had posted in the 7.2 category, but i think this is more to do with my lack of Razor knowledge. Im playing around with the 7.2 grid layout and was wanting to change the numeric grid value to a word value. Niels kindly pointed me in the direction of function that did this, but being a designer type, its a bit beyond me.
I have the function NumberWords, but im having trouble passing the area.grid value through it. I can use a numerical value within the helper below "@NumberWords(4)", but im stumped on how to pass the "@area.grid" value in its place.
Any help would be grateful.
Martin
Function
It's probably an issue around the use of dynamic in the grid Razor, with the function expecting an integer.
Try this...
Andy
is working on a reply...