Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Test if function is shown in console / Visual Editor?

$
0
0
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?

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>