Specific page editing

4 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 10 Nov 2011 Link to this post


    Hi,

    in my application I have a RadBook which receive as an ItemsSource a collection of memo's. I would like to know if it's possible to have on the first page only the flexibility to edit the memo?

    Thank's
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 15 Nov 2011 Link to this post

    Hello Oliver,

     The RadBookControl provides LeftPageTemplateSelector and RightPageTemplateSelector which you can use to customize the different look and feel of your pages. Which or our controls do you mean with "Memo" ?
    Is it RadRichTExtBox ?

    Greetings,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 15 Nov 2011 Link to this post

    Hi,

    the control I'm trying to implement is a control for consulting a bunch of reports, the one on the first page would be the current report and the user should have the possibility to edit the current report, not the others one, only the one on the first page.

    Doesn't matter the control I have to use for editing the report.

    Thank's
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 18 Nov 2011 Link to this post

    Hello Oliver,

    You can use the RadRichTextPageView to display the content of the memos. You can set the  RadRichTextPageView ReadOnly state to True for the first page and to false for the others. You can do that by creating two templates - one read-only and one that can be edited. And you can use a DataTemplateSelecotr to set the read-only template only on the first page of the RadBook.

    I attached a sample project that opens a .docx file in the RadBook and the first page of the document can be edited. Please give ti a try and let us know if this approach will work for your scenario.

    Best wishes,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top