Doesn't it render anything or do you get an error? Your code has an if statement and a foreach after that so if it doesn't pass the if or there no item to iterate in the foreach it won't render anything. If you debug the code you might see what could be wrong.
Partial View Macro doesn't render?
So i got this code which does not work when I try to convert from Scripting Macro to Partial View Macro, can anyone help me out?
Thanks alot!
Hello,
Doesn't it render anything or do you get an error? Your code has an if statement and a foreach after that so if it doesn't pass the if or there no item to iterate in the foreach it won't render anything. If you debug the code you might see what could be wrong.
Jeroen
Im sorry, I fixed my problem. It was caused by some invalid RSS feed. Can we close topic?
Hi Nicolai
You can mark it as solved somewhere near the avatars.
/Jan
is working on a reply...