Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Vanaja 5 posts 75 karma points
    Sep 12, 2019 @ 04:01

    Content page data is not showing

    I have created document type (HomePage) and template and using that template i have created content page(TestPage). In document type page (HomePage) i have inserted richtextbox. Now in content page(TestPage), i can add text in richtextbox. But when i run the content page(TestPage) no text is showing from content page(TestPage). Is there any code to visible the content of richtextbox from content page(Test_Page)? What is the use of keyword rte? Is there any link with this rte?

    Thanks in advance.

  • Shaishav Karnani from 330 posts 1564 karma points
    Sep 12, 2019 @ 04:58
    Shaishav Karnani from

    Hi Vanaja,

    Please can you share the code of template.

    If you try this code then it should work fine. @Model.Content.Value("rteAlias")

    //rteAlias - This is obviously your RTE alias.



  • Vanaja 5 posts 75 karma points
    Sep 12, 2019 @ 06:06

    MasterPage code :-


    Form created using MasterPage :- Image: HomePage


    @using ContentModels = Umbraco.Web.PublishedModels; @inherits Umbraco.Web.Mvc.UmbracoViewPage

    Sample Page

    This content is from Home page(i.e. RenderBody())

    ContentPage Image : - Contentpage

    When i run the content page it shows like. Its not showing the text which i have written in richtexteditor.

    Output of content page

  • Vanaja 5 posts 75 karma points
    Sep 12, 2019 @ 06:12

    Many thanks Shaishav for your reply,

    Please see my post above this, i have mentioned everything.
    Its not showing text 'This is content page'. In which page should i use this '@Model.Content.Value("rteAlias")'.


Please Sign in or register to post replies

Write your reply to: