'umbraco.MacroEngines.DynamicXml' to 'string' (IF STATEMENT)
Hey everyone, I am having problems of creating a If statement for my client testimonials on my page. I can get all the values from my custom media item (umbracoFile, clientName, clientTestimonial, Id)
What i want to do is make a if statement where if the client testimonial has a value then display the following html and content.
Here is my razor script. Ive bold the text to show the problem I am having with
'umbraco.MacroEngines.DynamicXml' to 'string' (IF STATEMENT)
Hey everyone, I am having problems of creating a If statement for my client testimonials on my page. I can get all the values from my custom media item (umbracoFile, clientName, clientTestimonial, Id)
What i want to do is make a if statement where if the client testimonial has a value then display the following html and content.
Here is my razor script. Ive bold the text to show the problem I am having with
If anyone could help me that would il be most thankful. am still newish to razor, trying to understand the concept of it like and how it works...
Thanks
Paul
Anyone? lol
Hi Paul
What is actually happening with the line in question? Any error messages? Are you able to step through your code with a debugger?
is working on a reply...