Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Page Turn Code Sample in Silverlight 2.0
8 replies. Latest Post by sealightPT on October 7, 2008.
(0)
CraigMuc...
Member
268 points
131 Posts
05-10-2008 8:30 AM |
Does anyone know of any code examples of the Page Turn application in Silverlight 2?
Pluginbaby
553 points
220 Posts
05-12-2008 10:00 AM |
Yes!
Jeff Prosise wrote a Silverlight Page Turn Framework for the last MSDN Magazine (May 2008).You can download the code there:http://msdn.microsoft.com/en-us/magazine/default.aspx
This is a Silverlight 1.0 app.
05-12-2008 10:08 AM |
But like you say - it's Silverligth 1.0...
BenHayat
Participant
1033 points
600 Posts
05-12-2008 10:32 AM |
CraigMuckleston:But like you say - it's Silverligth 1.0...
Exactly!
There are actually two samples in the gallery, version 1 with code and version 2 without code. I wish the would change the policy as if you put a sample in the gallery, it should come with code to learn from. Otherwise it's useless for developers who are looking at the running apps.
Yi-Lun L...
All-Star
25052 points
2,747 Posts
05-13-2008 4:48 AM |
Hello, I recommend you to trying convert the JavaScript code to C# on your own. This is a good chance to learn. If you meet any problems in your conversion, feel free to ask them on this forum.
cjhutchings
79 points
85 Posts
09-18-2008 8:24 PM |
Hi, I've been working with this particular page turn, and it's pretty sweet. But, I for the life of me can't figure out how to make thumbnails work.
If anyone has worked with this particular source and knows how to make a button click "jump" to a certain page and could help me figure it out, I would be most obliged. I've figured out some bits, but have only gotten so far as:
function Btn2Down(sender, mouseEventArgs) {
PageTurnFramework.prototype.goToPage(1);
}
This seems like it should work, but doesn't, and I'm not exactly sure why. I'm not too familiar with Javascript though, so I'm wondering if I'm missing something simple. So if anyone's figured this out already and could help, thanks much!
09-21-2008 9:39 PM |
Nevermind, I figured it out.
vraopoli...
8 points
4 Posts
09-22-2008 10:36 AM |
Look at this: Silverlight 2 Beta 2 Page turn in C#
http://blogs.msdn.com/mitsu/archive/2008/06/10/wpf-and-silverlight-bookcontrols-source-code-available.aspx
Venkat Polisetti
cjhutchings: Nevermind, I figured it out.
sealightPT
16 points
3 Posts
10-07-2008 10:19 AM |
You have here another nice implementation:
Silverlight 2 Beta 2 Page Turn