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
3 Answers, 1 is accepted
0
Petar Mladenov
Telerik team
answered on 15 Nov 2011, 04:36 PM
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 >>
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.
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 >>