Calendar controls are not available in Expression Blend 2 SP1

Answered Calendar controls are not available in Expression Blend 2 SP1

  • Thursday, December 04, 2008 4:35 PM
     
     

    I just installed everything (I think).  When I watch the video I see a datepicker control but locally I don't have it in the "Asset Library".  Can anyone tell me what I've missed?

    Thanks

All Replies

  • Friday, December 05, 2008 2:45 AM
     
     

    The calendar control comes with the WPFToolkit, which is available at http://www.codeplex.com/wpf. If you add a reference to this dll in you project I think it should become available on one of the tabs in the asset library.

  • Friday, December 05, 2008 9:23 AM
     
     

    Thanks for the suggestions but

    I'm running expresion blend 2 service pack 1 (2.1.1760.0)

    The project type is silverlight 2 application

    In the silverlight 2 application I add references to wpftoolkit.dll, wpftoolkit.design.dll and wpftoolkit.visualstudio.deisgn.dll (from v3.5.31016.1)

    In the xaml for the page I add

     xmlns:controls="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit"

     In the "asset library" I click show all

     and I still can't see the date controls

     thanks in advance

     

     

     

     

  • Friday, December 05, 2008 10:17 AM
     
     Answered

    Stupid me... You can't add wfp controls to silverlight...

    This is how it's done...

    Add a reference to System.Windows.Controls.dll which is located in something like c:\program files\silverlight\v2.0\libraries\client

    after that add xmlns:control="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  to your xaml file.

    <control:Calendar /> should give you the calendar control now.

  • Sunday, December 07, 2008 7:07 PM
     
     Answered

    Thanks for the help.  On my computer the reference is in

    program files\microsoft sdks\silverlight v2.0\libraries\client

     system.windows.controls.dll

     the data grid is in

    system.windows.controls.data.dll

     

     

  • Sunday, March 08, 2009 7:15 AM
     
     

     thank you.