Page turn

6 posts, 0 answers
  1. Russ
    Russ avatar
    1 posts
    Member since:
    Jul 2010

    Posted 17 Aug 2010 Link to this post

    By default, if a user wants to turn the page forward, they can click on the corner or drag the corner to the other page and let off the mouse. If the user only drags the corner of the page part way, the page falls back into place and no page turn occurs.

    I'm wanting to change how far the page has to be dragged for a page turn to occur. Is this possible? In my project, I only show the right page of the book (the left page is clipped off). It would be nice if the user could drag the page corner to, say, half way across the right page, and the page turn would still happen.

    Thanks!
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 20 Aug 2010 Link to this post

    Hi Russ,

    Unfortunately the RadBook doesn't support such scenario. However I added it as a feature request to our PITS under the name Book: Allow the user to determine how far the page has to be dragged for a page turn to occur. You can vote for it from tomorrow the latest and if the feature gather enough popularity we will definately consider implementing it. I also updated your Telerik points accordingly.

    Any additional comments on the matter are highly appreciated.

    Kind regards,
    Tina Stancheva
    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
  3. DevCraft banner
  4. prog1
    prog1 avatar
    61 posts
    Member since:
    Jul 2008

    Posted 30 Sep 2010 Link to this post

    Could it be possible to turn down a small piece of the page corner?

    Would be nice to have a page fold, that is shown if the user could turn around the page.
    For developers a simple property ShowPageFold true or false or never?
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 05 Oct 2010 Link to this post

    Hello Fabian,

    Please have a look at the attached project as it demonstrates similar functionality. Let me know if this helps.

    All the best,
    Kiril Stanoev
    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
  6. Sam
    Sam avatar
    1 posts
    Member since:
    May 2012

    Posted 21 May 2012 Link to this post

    Hello,
    I had ever made a page turing flipbook via turning page software. The page turns when i drag the page corner, or click on next page button. If I drag the page, it turns according with my actions. So maybe you can have a try.
  7. Lancelot
    Lancelot avatar
    251 posts
    Member since:
    Jul 2012

    Posted 22 May 2012 Link to this post

    Hi Sam,

    You have access to several events when the user grabs the fold edge and also how far the fold goes. If I understand you correctly, you want the page to turn when the fold is pulled all the way over. If this is not what you are asking, please give me a little more detail and I can write you an example app demonstrating the control's capabilities.

    Here is a list of just some of the events you can handle with RadBook:
    • FoldActivated - raised when the user hovers the fold with the mouse.
    • FoldDeactivated - raised when the fold is not active - e.g. the user is not over it. (will also happen after page is turned)
    • PageChanged - raised when the page set is changed.
    • PageFlipStarted - raised when user starts to flip a page.
    • PreviewPageFlipStarted - raised when user starts to flip a page. Allows the developer to cancel the page flip.
    • PageFlipEnded - raised when the flip is finished. This happen when the page is changed, or user canceled the flip.

    Alongside the events, there are a lot of properties you can play with to get the feel you're looking for. Here are some that I use in the  demo project I created for you:

    Adjust the FoldSize (the distance the fold will pull away from the edge of the book )
    Toggle the IsKeyboardNavigationEnabled (allows the left/right keys to turn a page)

    I've attached a demo project (it contains comments inside the code explaining what i did to get these results). You can turn the pages in one of three ways;

    1. Drag a folded corner across the page (the page turn completes when you let go of the fold).
    2. Hover over a folded corner and press left mouse button
    3. Use the left or right arrow keys on the keyboard

    Along with the project, I've attached 2 screenshot images. They show all the events possible with the RadBook control and also the RadBookItem (individual pages raise events as well). Because I cannot attach the project here, this link will bring you to my public dropbox folder where you can download it. http://dl.dropbox.com/u/47517502/RadBookExampleProject.zip

    Good luck, if you have questions I will be monitoring this thread.
    Lancelot

Back to Top
DevCraft banner