Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Windows Phone 7 Application Development: 24 Hour Trainer
This is the forum to discuss the Wrox book Windows Phone 7 Application Development: 24 Hour Trainer by Brian Faucher ; ISBN: 978-0-470-93907-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Windows Phone 7 Application Development: 24 Hour Trainer section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 17th, 2011, 02:35 PM
Registered User
 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Error following directions on page 81.

For lesson 10, page 81 step 10. I get the following error...

A value of type 'MultiTouchManipulationBehavior' cannot be added to a collection or dictionary of type 'BehaviorCollection'.

I thought I typed it in wrong at first, so I downloaded the code from this web site and I still get the error.

Anyone have any ideas of what I am doing wrong? I have been an ASP.net developer since 2002, but I am new to XAML.

Code:
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
  <Image Height="272" HorizontalAlignment="Left" Margin="40,48,0,0"
             Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="350" 
             Source="/HelloWindowsPhoneLesson10;component/Images/Dog-pug.jpg" >
    <i:Interaction.Behaviors>        
        <mt:MultiTouchManipulationBehavior IsInertiaEnabled="True"
              IsRotateEnabled="True" IsTranslateEnabled="False"
              IsScaleEnabled="True" MinimumScaleRadius="60" 
              MaximumScaleRadius="360"/>     
    </i:Interaction.Behavior
  </Image>
 </Grid>
Reply With Quote
  #2 (permalink)  
Old January 30th, 2012, 05:14 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Error following directions on page 81.

After downloading the code from Wrox website, you may need to unblock the .dlls within any given lesson in order to access them within a solution. For Lesson 10, you will need to unblock the following .dlls:
  • MultiTouch.Behaviors.Silverlight.WP7.dll
  • System.Windows.Input.Manipulations.dll
  • System.Windows.Interactivity.dll

These will be located within the Bin\WP7 (and in the Bin\Debug if you have already tried to build the solution.)

Here is a link that describes how to unblock .dlls downloaded from the Internet:
http://msdn.microsoft.com/en-us/libr...VS.100%29.aspx

Thanks,

Brian Faucher
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused between onSaveInstanceState and onPause on page 81 and 82 fungi8210 BOOK: Professional Android 2 Application Development 1 March 9th, 2010 08:26 AM
Professional Java Security , ISBN 81-7366-293-2, p jaskaran Wrox Book Feedback 4 April 21st, 2006 08:21 AM
Example code for EJB(ISBN:81-7366-351-3) akb_das Wrox Book Feedback 3 August 27th, 2004 03:49 PM
isbn 81-7366, how to run rmi pgm sivapmk J2EE 1 December 10th, 2003 08:28 AM



All times are GMT -4. The time now is 03:13 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.