great package - what syntax is used for numeric and boolean parameters?
This is really usefull for reusing macros and scripts without special code for RenderPage
I keep getting this error, when using parameters:
Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
example:
@Library.RenderMacro("FooterContent", new { currentColoumn="1"})
great package - what syntax is used for numeric and boolean parameters?
This is really usefull for reusing macros and scripts without special code for RenderPage
I keep getting this error, when using parameters:
Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
example:
@Library.RenderMacro("FooterContent", new { currentColoumn="1"})
Cheers
Thomas
You are going to have update to version 1.1.0 (i've just uploaded it) there was a bug preventing properties from passing properly.
you should be able to just use
without the quotes.
macros always convert all properties passed though to strings anyway (this is somthing that happens in the core somewhere) so both ways should work.
And now it works! - Thanks a lot H5YR
glad to be of service :)
is working on a reply...