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

Pages of Different Sizes - PageFlipEnded does not fire

3 Answers 58 Views
Book
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 20 Jul 2010, 03:42 AM
Hi,

I have a book where the first page (page 1) is a slightly smaller size that the other pages. 

When calling the RadBook.NextPage() method from page 1, the page turn does not animate and the PageFlipEnded event does not fire, but the pages do change.  I'm assuming the RadBook control might be swallowing an exception.

Normally this wouldn't be a huge issue, but I'm setting a flag in the PageFlipStarted and PageFlipEnded events to determine if the book is in the middle of a page turn.  Because the PageFlipStarted event is fired, but PageFlipEnded is not, this leaves my app thinking we are still in a page turn (forever).

My questions are:-
1.  Should RadBook handle pages of different sizes?
2.  Is there another way to determine if the RadBook is in the middle of a page turn without using the PageFlipStarted and PageFlipEnded events?

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 20 Jul 2010, 02:56 PM
Hi Simon,

We don't support pages with different sizes. Can you tell us what is your real world scenario?

All the best,
Valentin.Stoychev
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
Simon
Top achievements
Rank 1
answered on 21 Jul 2010, 12:32 AM
Hi,

We have a system to allow users to enter in different pages of a catalogue.  I identified the issue when evaluating the RadBook control with an existing catalogue that was in our system.  This catalogue had been setup with one page that was a slightly different size than the others.

Although this case was a user input problem for this particular catalogue, there are catalogues that do have different pages sizes.  eg. the middle pages are a little larger so they stick out the top or side.

I can also think of instances of books with the cover pages larger than the inner pages, or inner pages of different sizes.

It would be nice to have the RadBook handle different page sizes, but I understand the compexities.  Maybe in the interum it could at least fire the PageFlipEnded event (or throw an error) ; this would get around my immediate issue.
0
Valentin.Stoychev
Telerik team
answered on 21 Jul 2010, 08:19 AM
Hi Simon,

Thank you for this feedback. I'm logging it as a feature reqyest to the product backlog and it will be available for tracking and voting later our public issue tracking system(Telerik Public Issue Tracking).

Greetings,
Valentin.Stoychev
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
Tags
Book
Asked by
Simon
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Simon
Top achievements
Rank 1
Share this question
or