Telerik blogs
  • People

    12 days, 6 countries…

    I’m about to leave for a 12 day road trip that will take me to six different countries on three continents. My first stop, arranged by Adam Cogan and Telerik, is an Agile Seminar in Sydney, Australia. Should be fun, at least they already know what Rugby is and will get my sports references.  I will also be speaking on Silverlight at the Sydney .NET User Group. I’ll be doing my WCF walk through and then a RIA Services demo, about 2 hours, no slides, only Visual Studio. In addition to my presentation, I will also be demoing the new Telerik Data Services Wizard at the user group and show how...
    May 16, 2010
  • Release

    Telerik SalesDashBoard demo is now available for download

    Telerik Sales Dashboard demo has been updated and now it uses the latest official releases of RadControls for Silverlight 4 and OpenAccess ORM. The source code of the demos is available under your accounts at: Telerik Sales Dashboard for Silverlight Telerik Sales Dashboard for WPF We will greatly appreciate your...
  • Productivity

    Mocking property sets

    In this post, i will be showing how you can mock property sets with your expected values or even action using JustMock. To begin, we have a sample interface: public interface IFoo {     int Value { get; set; } } Now,  we can create a mock that will throw on any call other than the one expected, generally its a strict mock and we can do it like: bool expected = false;  var foo = Mock.Create<IFoo>(BehaviorMode.Strict);  Mock.ArrangeSet(() => { foo.Value = 1; }).DoInstead(() => expected  = true);    foo.Value = 1;    Assert.True(expected); Here , the method for running though our expectation for set is Mock.ArrangeSet , where we can directly set our expectations or can even set matchers into...
    May 14, 2010
  • Web

    Events in Task-It - Part 3

    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. Prior topics In my last 2 event-related posts I talked about passing information between components via events and using events in providing feedback to a user when time consuming operations are in progress. I also blogged recently...
    May 13, 2010
  • Web ASP.NET AJAX

    Extending RadListView for ASP.NET AJAX with client-side binding and infinite scroll

    From time to time customers ask us if it is possible to implement client-side binding with our RadListView for ASP.Net AJAX.  Although, this is not currently available as a built-in feature, one can very easily extend the control with some jQuery magic and Microsoft's proposed client-side templates.   I have prepared a small sample app which demonstrates a basic implementation of client-side population through infinite scroll. The actual functionality is wrapped into a good old Ajax Control Extender, which can be hooked to a RadListView. The sample contains two pages - one illustrating full client-side population, and another showing an initial server-side...
  • People

    12 days, 6 countries…

    I’m about to leave for a 12 day road trip that will take me to six different countries on three continents. My first stop, arranged by Adam Cogan and Telerik, is an Agile Seminar in Sydney, Australia. Should be fun, at least they already know what Rugby is and will get my sports references.  I will also be speaking on Silverlight at the Sydney .NET User Group. I’ll be doing my WCF walk through and then a RIA Services demo, about 2 hours, no slides, only Visual Studio. In addition to my presentation, I will also be demoing the new Telerik Data Services Wizard at the user group and show how...
    May 16, 2010
  • Release

    Telerik SalesDashBoard demo is now available for download

    Telerik Sales Dashboard demo has been updated and now it uses the latest official releases of RadControls for Silverlight 4 and OpenAccess ORM. The source code of the demos is available under your accounts at: Telerik Sales Dashboard for Silverlight Telerik Sales Dashboard for WPF We will greatly appreciate your...
  • Productivity

    Mocking property sets

    In this post, i will be showing how you can mock property sets with your expected values or even action using JustMock. To begin, we have a sample interface: public interface IFoo {     int Value { get; set; } } Now,  we can create a mock that will throw on any call other than the one expected, generally its a strict mock and we can do it like: bool expected = false;  var foo = Mock.Create<IFoo>(BehaviorMode.Strict);  Mock.ArrangeSet(() => { foo.Value = 1; }).DoInstead(() => expected  = true);    foo.Value = 1;    Assert.True(expected); Here , the method for running though our expectation for set is Mock.ArrangeSet , where we can directly set our expectations or can even set matchers into...
    May 14, 2010
  • Web

    Events in Task-It - Part 3

    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. Prior topics In my last 2 event-related posts I talked about passing information between components via events and using events in providing feedback to a user when time consuming operations are in progress. I also blogged recently...
    May 13, 2010
  • Web ASP.NET AJAX

    Extending RadListView for ASP.NET AJAX with client-side binding and infinite scroll

    From time to time customers ask us if it is possible to implement client-side binding with our RadListView for ASP.Net AJAX.  Although, this is not currently available as a built-in feature, one can very easily extend the control with some jQuery magic and Microsoft's proposed client-side templates.   I have prepared a small sample app which demonstrates a basic implementation of client-side population through infinite scroll. The actual functionality is wrapped into a good old Ajax Control Extender, which can be hooked to a RadListView. The sample contains two pages - one illustrating full client-side population, and another showing an initial server-side...