Hi
I have a Razor function that is rendered in the Visual Editor when I insert it on a page. I have a couple of questions:
1) As I recall you can check inside the view whether the functions is being rendered inside the Visual Editor / in the C1 console or if it's being rendered to a web user. Is that possible? How?
2) After changing the output of the function the Visual Editor still prints the old data even though it prints correctly when I load it as a user on the webpage. Seems like a caching-problem. How can I solve this?
I have a Razor function that is rendered in the Visual Editor when I insert it on a page. I have a couple of questions:
1) As I recall you can check inside the view whether the functions is being rendered inside the Visual Editor / in the C1 console or if it's being rendered to a web user. Is that possible? How?
2) After changing the output of the function the Visual Editor still prints the old data even though it prints correctly when I load it as a user on the webpage. Seems like a caching-problem. How can I solve this?