Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Can macros be used in the code file of a Web Part? View modes: 
User avatar
Member
Member
Rawe - 4/26/2012 3:24:45 AM
   
Can macros be used in the code file of a Web Part?
Hi, I just wondered if anybody could clarify where macros can be used. Am I able to use them in the C# code behind of a Web Part for example?

I'm looking pass the document name to a string and output it on the page.

Many thanks,
Rawe

User avatar
Member
Member
kentico_michal - 4/26/2012 3:31:06 AM
   
RE:Can macros be used in the code file of a Web Part?
Hi,

You can resolve macros in the code behind as it is shown in this section of Developer's guide: Resolving macros using api.

Best regards,
Michal Legen