Hello,
Is the use of a RadRichTextBox inside a RadBook supposed to work in the Q2 release and if so are there any explicit limitations?
I tested the example below with different LayoutModes. Paged and FlowNoWrap works while Flow does not. I am using Q2 Beta.
Best regards,
//Ingemar
Is the use of a RadRichTextBox inside a RadBook supposed to work in the Q2 release and if so are there any explicit limitations?
I tested the example below with different LayoutModes. Paged and FlowNoWrap works while Flow does not. I am using Q2 Beta.
<
Grid
Background
=
"Yellow"
>
<
telerikNavigation:RadBook
>
<
telerikNavigation:RadBookItem
>
<
telerikRichTextBox:RadRichTextBox
>
<
t:RadDocument
LayoutMode
=
"Flow"
>
<
t:Section
>
<
t:Paragraph
>
<
t:Span
>
Hello World!
</
t:Span
>
</
t:Paragraph
>
</
t:Section
>
</
t:RadDocument
>
</
telerikRichTextBox:RadRichTextBox
>
</
telerikNavigation:RadBookItem
>
</
telerikNavigation:RadBook
>
</
Grid
>
Best regards,
//Ingemar
6 Answers, 1 is accepted
0
Hello Ingemar Johansson,
You can try to resolve the flow mode issues if you set explicitly width/height of the control. As to Q2 release, you will be able to place RadRichTextBox in any other control. It is not clear though what scenario you wish to cover with RadBook. Can you please elaborate a bit more on that? Thank You.
Best wishes,
Mike
the Telerik team
You can try to resolve the flow mode issues if you set explicitly width/height of the control. As to Q2 release, you will be able to place RadRichTextBox in any other control. It is not clear though what scenario you wish to cover with RadBook. Can you please elaborate a bit more on that? Thank You.
Best wishes,
Mike
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Ingemar
Top achievements
Rank 1
answered on 14 Jul 2010, 04:02 PM
Hi Mike,
The issue with LayoutMode="Flow" was solved when I added the row <telerikRichTextBox:RadRichTextBox.Document> in my code. But that does not solve my basic need.
My scenario is the following:
On the left side in a RadBook there is a problem (teaching/testing scenario). On the right side there is a solution. It should be possible to go through the solution in steps i.e. only show parts of the solution. Currently I do this with TextBlocks.
I want to take a text in the form of a RadDocument in XAML, put it in a RadRichTextBox in a RadBook page (left page). I also want to do the same thing dynamically in code on the right page as it is currently not possible to change the visability of a paragraph.( Otherwise I would solve this part with a binding).
The book should behave like a "book" i.e. no scrollviewers, no "half" pages that you get with the code below, just a "book page".
So imagine a RadDocument (edited in the DemoEditor) with text etc in an amount that fits the size of a book page. How do I get it to visually look like a "real" book page in a RadBook and not a book page with a control inside.
Best regards,
//Ingemar
The issue with LayoutMode="Flow" was solved when I added the row <telerikRichTextBox:RadRichTextBox.Document> in my code. But that does not solve my basic need.
My scenario is the following:
On the left side in a RadBook there is a problem (teaching/testing scenario). On the right side there is a solution. It should be possible to go through the solution in steps i.e. only show parts of the solution. Currently I do this with TextBlocks.
I want to take a text in the form of a RadDocument in XAML, put it in a RadRichTextBox in a RadBook page (left page). I also want to do the same thing dynamically in code on the right page as it is currently not possible to change the visability of a paragraph.( Otherwise I would solve this part with a binding).
The book should behave like a "book" i.e. no scrollviewers, no "half" pages that you get with the code below, just a "book page".
So imagine a RadDocument (edited in the DemoEditor) with text etc in an amount that fits the size of a book page. How do I get it to visually look like a "real" book page in a RadBook and not a book page with a control inside.
<
telerikNavigation:RadBook
Height
=
"450"
Width
=
"800"
Background
=
"LightGray"
>
<
telerikNavigation:RadBookItem
>
<
telerikRichTextBox:RadRichTextBox
>
<
telerikRichTextBox:RadRichTextBox.Document
>
<
t:RadDocument
>
<
t:Section
>
<
t:Paragraph
>
<
t:Span
>
Hello World!
</
t:Span
>
</
t:Paragraph
>
</
t:Section
>
</
t:RadDocument
>
</
telerikRichTextBox:RadRichTextBox.Document
>
</
telerikRichTextBox:RadRichTextBox
>
</
telerikNavigation:RadBookItem
>
</
telerikNavigation:RadBook
>
Best regards,
//Ingemar
0

Ingemar
Top achievements
Rank 1
answered on 15 Jul 2010, 09:53 AM
Hi again,
It appears that a lot of my issues was solved with the official Q2-release yesterday. I will probably have the app running beatifully and looking the way I want in a couple of days.
Best regards,
//Ingemar
It appears that a lot of my issues was solved with the official Q2-release yesterday. I will probably have the app running beatifully and looking the way I want in a couple of days.
Best regards,
//Ingemar
0
Hi Ingemar,
We are glad your issues where solved. We are currently developing a demo with RadRichTextBox in read-only mode and RadBook, and it will soon be ready. Let us know if you are interested in details or if anything else pops up.
All the best,
Mike
the Telerik team
We are glad your issues where solved. We are currently developing a demo with RadRichTextBox in read-only mode and RadBook, and it will soon be ready. Let us know if you are interested in details or if anything else pops up.
All the best,
Mike
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Ingemar
Top achievements
Rank 1
answered on 20 Jul 2010, 11:27 AM
Hi Mike,
Perfect! I would like to have a look at the sorce code for this demo as soon as that is possible. If you have a beta-version available now I would appreciate a look at that.
Best regards,
//Ingemar
Perfect! I would like to have a look at the sorce code for this demo as soon as that is possible. If you have a beta-version available now I would appreciate a look at that.
Best regards,
//Ingemar
0
Hi Ingemar,
Even though we had lots of issues related to this scenario we finally managed to find a way to do it, an I hope this solution will compensate for the delay in our answer.
http://www.telerik.com/community/forums/silverlight/book/did-documement-manager-make-it-to-q2-for-radbook.aspx
Please let me know what you think about this solution and if you have any suggestion for improvements.
All the best,
Mike
the Telerik team
Even though we had lots of issues related to this scenario we finally managed to find a way to do it, an I hope this solution will compensate for the delay in our answer.
http://www.telerik.com/community/forums/silverlight/book/did-documement-manager-make-it-to-q2-for-radbook.aspx
Please let me know what you think about this solution and if you have any suggestion for improvements.
All the best,
Mike
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items