Telerik blogs

Latest

  • Web

    MyTweets demo is now available for download

    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...
    May 27, 2021 1 min read
  • Release

    Service Pack 2 for Telerik Extensions for ASP.NET MVC released

    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...
    May 27, 2021 1 min read
  • Desktop WPF

    How - to: Automatically re-order, re-sort and re-group RadGridView (Silverlight and WPF) on change of the underlying DataSource.

    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: In order to achieve the desired result, we need to take the following steps: 1. Create Business Object There...
    May 27, 2021 3 min read
  • People

    Listen to me speak about TechEd India, Visual Studio 2010, and Karaoke on Microsoft Talk

    I had a nice chat with Abhishek Baxi and Manan on Microsoft Talk about: TechEd 2010 India, the Visual Studio 2010 Launch, Telerik, the MVP program, and Karaoke. I also spoke about my love for the IPL, Indian food, Punjabi music, rides in a tuk-tuk, hailstorms, and Bengaluru traffic as well. Listen here.
    March 22, 2023 1 min read
  • Desktop WPF

    Styling RadChart for WPF and Silverlight gets easier

    It’s been awhile since the Q1 SP1 2010 release, but let me introduce you to a couple of new approaches to styling, which we added and failed to openly manifest. First, there is the ability to build your own palette of brushes, that will be applied to the RadChart: <telerik:RadChart x:Name="radChart1"> <telerik:RadChart.PaletteBrushes> <SolidColorBrush Color="Magenta" /> <LinearGradientBrush StartPoint="0,0" EndPoint="0.75,1"> <GradientStop Color="Red" Offset="0" /> <GradientStop Color="BlueViolet" Offset="0.5" /> <GradientStop Color="#af000000" Offset="1" /> </LinearGradientBrush> </telerik:RadChart.PaletteBrushes> </telerik:RadChart> .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }   Here is the result:   Using images is as...
    May 27, 2021 3 min read
  • 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 27, 2021 2 min read
  • 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...
    May 27, 2021 1 min read
  • 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 27, 2021 2 min read
  • 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 27, 2021 4 min read
  • 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...
    May 27, 2021 1 min read