Telerik blogs

Latest

  • Web

    How To: Customize RadGridView's Default Filtering Control with Attached Behaviors (Silverlight & WPF)

    If you are familiar with the RadGridView‘s Custom Filtering Functionality you probably know that you can create any kind of user control to replace the default one which looks like this: Very often, however, you may be perfectly happy with the stock filtering control, but you wish you could modify and adapt it just a little bit to match your particular requirements. What should you do then? Maybe build an entirely new filtering control from scratch that looks just like RadGridView’s default one and adds this tiny bit of functionality? No, that would be insane. There is an easier way to do this....
    January 22, 2010
  • Web

    How To: Serialize your DataTable to Silverlight using WCF service

    Did you know that you can serialize any DataTable to Silverlight easily from your custom WCF service in very few lines of code? [OperationContract] public IEnumerable<Dictionary<string, object>> GetData() { var table = YourDataTable; var columns = table.Columns.Cast<DataColumn>(); return table.AsEnumerable().Select(r => columns.Select(c => new { Column = c.ColumnName, Value = r[c] }) ...
    January 22, 2010
  • Productivity

    OpenAccess ORM Second Level Cache API

    OpenAccess provides you not only with one, but two caches for persistent objects. The first level cache is the cache that directly supports the IObjectScope and that is responsible for the uniqueing of database references. That means, it is responsible to assure that there is only one physical instance per logical database entity: Equal foreign key reference values lead to a consistent representation in memory so that no duplicate representation of a single database row exists within an IObjectScope. This cache also holds the modified objects in a scope. The first level cache is always present and there is a...
    January 21, 2010
  • People

    Half-day Agile Seminar Feb 24th in Pune, India

    I will be presenting a half day seminar on Agile Development, Tools and Teams on Wednesday February 24th at the MCCIA in Pune. The event is brought to you free by e-Zest, MCCIA, and Telerik. Seats are limited, to sign up in advance, please email seminar@e-zest.net. The Program Details One of the most popular Agile project management and development methods, Scrum is starting to be adopted at major corporations and on very large projects. After an introduction to the basics of Scrum like: project planning and estimation, the Scrum Master, team, product owner and burn down, and of course the daily Scrum, Stephen (a certified Scrum Master) shows many real...
    January 21, 2010
  • Web

    MicroModels for Silverlight

    Last week I was impressed by Paul Stovell’s marvelous project – MicroModels. In a nutshell a micro model is a view model over your objects, which allow you to define dynamic properties, collection and commands. You can read more about it in Paul’s introductory blog post here. Despite its great features, “MicroModels” has one big limitation - it does not run in Silverlight. And this is where my journey began. My mission was to port the code to Silverlight with little to no modifications. Porting the code to Silverlight The task was not an easy one, but after a lot of head scratching...
    January 21, 2010
  • Desktop WPF

    Filtering GridViewComboBoxColumn in RadGridView for WPF

      GridViewComboBox column is used to display lookup data in user friendly manner. For our demo we bind RadGridView for WPF to a collection of custom Location objects.       As you may notice – each location has a selectable Country field.  Here is the underlying ‘data model’.   public class Location { public int CountryID { get; set; } public string CityName { get; set; } } public class Country { public int ID { get; set; } public string Name { get; set; } }   The location object contains the integer CountryID.Each CountryID corresponds to a certain country and with the help of GridViewComboBoxColumn we see some human readable country names instead of the...
    January 20, 2010
  • Release

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

    We have just release the second service pack for Telerik Extensions for ASP.NET MVC. You can download the open source version from here. Registered users can download it from their client.net accounts. You can check the release the notes here. What’s new The most notable change is that we upgraded to jquery 1.4. The benefits from using the latest jquery installment are quite a lot – performance improvements, lots of new features etc. We also hosted jQuery on Telerik CDN. However this upgrade comes at a price. Be warned that this change will break your existing web site if you are using jquery-1.3.2 and...
    January 20, 2010
  • Productivity

    JustCode. What's the benefit of having solution wide analysis?

    When I originally announced JustCode in an earlier post, I described its solution wide analysis feature as "it’s like having a compiler running all the time with the only difference being that it runs much faster." This is, of course, only true to an extent but as this is the major feature of JustCode I’ve decided to write a separate blog post describing, in detail, just how this feature can help you. I’ve also decided to split this blog post into several parts covering each of the different platforms support by JustCode as the solution wide analysis works differently depending on the...
    January 20, 2010
  • Web

    Training courseware for RadControls for Silverlight

    We now have a brand new, including over 1000 pages, free training courseware for RadControls for Silverlight. It provides tons of tips and tricks, how-to's, code samples (in XAML and both in C# and VB). All these structured in a step-by-step manner and covering most of the available RadControls for Silverlight. This training material will help you quickly get up to speed with Silverlight and will discuss some of the issues in common with all RadControls such as binding or theming, working with RIA Services (also WCF and ADO.NET), working with Expression Blend, etc.    The courseware is available to everyone...
    January 20, 2010
  • Web

    Handling multiple database connections with Telerik OpenAccess ORM

    Very often it is necessary to work simultaneously with more than one database. In such cases it is recommended that each database is mapped to a separate class model residing in its own assembly. The object scopes that handle the persistent objects should be obtained from an instance of the Database class which represents particular database on the server. To make this process easier Telerik OpenAccess ORM generates a helper class named ObjectScopeProvider. How to benefit from this class will be described later in this post. To explain practically how to configure the Visual Studio projects, consider the case of having...
    January 20, 2010