• .NET

    Following up from New England Code Camp 14

    October 05, 2010 Share
    Hey Telerik Developer Community!  If you are in the northeastern US (or even further, if you look at the speakers!), then you probably spent this past Saturday afternoon at New England Code Camp 14 for a day jam packed with great topics and conversations. I was able to present Building a Unified Experience - Developing with Silverlight 4 and Windows Phone 7 at NECC and had a great time of it- the audience seemed to get into the talk as well with tons of questions regarding the framework, the future of WP7, and the launch that we all know is coming...
  • .NET

    How to: Databind Telerik’s ToolBar

    September 28, 2010 Share
    In this post we will go through a scenario for databinding the RadToolBar control. Here is the end result: And the demo project with everything included: ToolBarMVVM.zip How to databind the ToolBar? The ToolBar is an ItemsControl and can be databound to any IEnumerable, but it is preferable to bind it to an observable collection since any changes in it will be reflected by the ToolBar. Since there is no ToolBarItem, because ToolBar may contain variety of other controls, we will use DataTemplateSelector class to help us determine the template for each item inside the ToolBar: public class ToolBarTemplateSelector : DataTemplateSelector     {         public override DataTemplate SelectTemplate(object item, DependencyObject container)         {             if (item...
  • .NET

    How to: Telerik’s TabControl for Silverlight

    September 28, 2010 Share
    Let’s go through implementing several scenarios for the TabControl with quick, short explanations:    1. How to databind the TabControl?    2. How to enable drag-rearrange of items?    3. How to animate rearranging items?    4. How to add a Close Button to the TabItems using a Command?    5. How to animate content changes?    6. How to add a “New Tab” button when databound?    7. How to animate item add / removes? Here is the end result:    And the demo project with everything included:  tabcontrol-howto-demos.zip And of course the details, in short - How to databind the TabControl? The TabControl is a standard ItemsControl and can be databound to...
  • .NET

    Wrapping up the Telerik Eastern Canada User Group Tour

    September 21, 2010 Share
    Hey everyone! Now that I'm all back and settled in the Boston metro area, it's time to make some resources available to people who attended and for anyone interested in a little bit of Silverlight goodness. First though I've got a tiny side-note as far as the presentations.  Originally in this post I mentioned that we offered three different Silverlight talks to the user groups, but as it turns out nobody picked this one: Building a Unified Experience – Developing with Silverlight 4 and Windows Phone 7 In this session, we will get look into development on both the full Silverlight platform and on Windows Phone...
  • .NET

    5+ Ways to Reduce your .Xap Size

    Being Silverlight developer means that we are also kind of web developers. From this point of view, we also have to think about the web traffic that our applications generate. We need to reduce it as much as possible. So basically we need to reduce the size of the application's output - the .xap file. In this post I'll try to summarize the five ways to reduce the size of a xap that I've shared today with Sofia's Silverlight User Group. Understanding the Xap In order to reduce the size of a xap file, we should first be aware of its structure. Basically it can contain only 4 things: AppManifest.xaml -...