• Writing state of art unit tests that can validate your every part of the framework is challenging and interesting at the same time, its like becoming a samurai. One of the key concept in this is to keep our test synced all the time as underlying code changes and thus breaking them to the furthest unit as possible.  This also means, we should avoid  multiple conditions embedded in a single test.

    Let’s consider the following example of transfer funds.

    1. var currencyService = Mock.Create<ICurrencyService>();
    2. //// current rate
    3. Mock.Arrange(() => currencyService.GetConversionRate("AUS", "CAD")).Returns(0.88);
    4.  
    5. Account to = new Account { Currency = "AUS", Balance = 120 };
    6. Account from = new Account { Currency = "CAD" };
    7.  
    8. AccountService accService...
  • Task-It Series

    This post is part of a series of blog posts and videos about the Task-It (task management) application that I have been building with Silverlight 4 and Telerik's RadControls for Silverlight 4. For a full index of these resources, please go here. One of the posts listed in the index provides a full source download for the application, and I will be referring to that source code in this post.

    More about MVVM

    I recently received a comment on one of my blog posts about how the reader liked the strongly-typed property changed notification technique that I have in my Task-It, and it occurred to me that...

  • Using RadControls can boost the development process, using bunch of built-in features. However, sometimes we encountered scenarios where we need something very specific. In addition, we do want to make our custom logic encapsulated and easy reusable.  So,when this is the case,using behaviors is our best choice. In this blog I will show small example how to use the behavior power to enable row reorder functionality.

     sample

     

    In order to enable drag and drop functionality, it simply uses our RadDragAndDropManager, giving us simple solution for the drag/drop functionality. So in order to use it and customize it we can even go the...

  • Animated cells on value changes

     

    When dealing with streaming data which is updated over time the end user should be able to quickly track changes at a glance. A typical application that would benefit from this would be a financial dashboard, live data monitoring and tracking systems etc. For the purpose of illustration I have prepared a small simulation of streaming financial data (stock prices) .

      Get Microsoft Silverlight  

    In my previous blogpost I have already demonstrated how we can alter/extend the behavior of cells in RadGridView by placing a user control inside. This blog post demonstrates a more real-life and business oriented scenario.
    All...
  • The time has come to publish the second service packs releases for our ASP.NET AJAX and MVC suites. These are mainly stabilization releases with a set of fixes and a few enhancements that made it for the Q1 2010 SP2 launch. The details are available in the referenced resources below:

     

    RadControls for ASP.NET AJAX

    Release notes
    Demos
    Online documentation

     

    Telerik Extensions for ASP.NET MVC

    Release notes
    Demos
    Online documentation

    About the author

    Stefan Rahnev

    Stefan Rahnev

    Stefan Rahnev is the Unit Manager of the ASP.NET Telerik Division. He has been working for the company since 2005, when he started out as a regular support officer. His next steps at Telerik took him through the positions...

  • With the VSIX deployment in Visual Studio 2010 the world become a better place for developers – we are now able to add small tools to our IDEs and customize them the way we want with just a few megs of download from the Online Gallery. If we don’t use the tool for some time and we don’t want it to eat some of our PC resources we can just disable it through the Extension Manager. If we don’t like a tool we can simply remove it. The VSIX deployment guarantees that a tool is uninstallable, as the deployment is...

  • The time has come to publish the second service packs releases for our ASP.NET AJAX and MVC suites. These are mainly stabilization releases with a set of fixes and a few enhancements that made it for the Q1 2010 SP2 launch. The details are available in the referenced resources below:

     

    RadControls for ASP.NET AJAX

    Release notes
    Demos
    Online documentation

     

    Telerik Extensions for ASP.NET MVC

    Release notes
    Demos
    Online documentation

    About the author

    Stefan Rahnev

    Stefan Rahnev

    Stefan Rahnev is the Unit Manager of the ASP.NET Telerik Division. He has been working for the company since 2005, when he started out as a regular support officer. His next steps at Telerik took him through the positions...

  • Telerik MyTweets demo has been updated and now it uses the latest official release of RadControls for Silverlight 4.

    The source code of the demo is available under your accounts at:

    MyTweets Source Code Download 

    We will greatly appreciate your...
  • We just pushed the second service pack out of the door. Again it is mostly a maintenance release addressing the reported issues. Keep in mind though that the service pack is available only to customers who own a commercial license. The open source version (and codeplex project) will get updated only on major releases. Still should you discover a critical bug write in the forums. We will most likely attach a binary-only version there.

     

    What’s new

    The regular bunch of fixes – the complete list can be found in the release notes for service pack 2 page. We also improved the grid editing examples quite...

  • RadGridView for Silverlight and WPF supports sorting, grouping, filtering and editing. However, if a column is sorted for example and edited afterwards, we expect the newly-edited item to find its way in the sorted GridView. But it does not, unless “coded” to do that.

    So, what we want to achieve is to make the Grid aware of the changes thus enabling it to organize its elements correctly, corresponding to the requirements of the user. 

    Therefore, the expected behavior of the application will be the following:

    States

    In order to achieve the desired result, we need to take the following steps:

    1. Create Business Object

    There...