This is a migrated thread and some comments may be shown as answers.

Specific page editing

3 Answers 59 Views
Book
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 10 Nov 2011, 09:21 PM

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

3 Answers, 1 is accepted

Sort by
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 >>

0
Oliver
Top achievements
Rank 1
answered on 15 Nov 2011, 04:44 PM
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
0
Tina Stancheva
Telerik team
answered on 18 Nov 2011, 03:34 PM
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 >>

Tags
Book
Asked by
Oliver
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Oliver
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or