I think not. Normaly you prefix a dictionary item with a #. Now this is also the prefix to pass a paramter to the macro, so this won't work. Now what you can do is pass the dictionary key to the User control and use umbrac.library.GetDictionaryItem to get the value.
Passing dictionaryitem into a macro.
Hi,
I need to use an dictionaryitem inside my macro (UserControl). Not using code but as parameter.
I need to use somthing like:
Is the a syntax for this problem?
Thanks
Hi Ron,
I think not. Normaly you prefix a dictionary item with a #. Now this is also the prefix to pass a paramter to the macro, so this won't work. Now what you can do is pass the dictionary key to the User control and use umbrac.library.GetDictionaryItem to get the value.
Cheers,
Richard
I did'nt want to change the code but umbraco leaves me no choise..
Thanks Richard.
is working on a reply...