• After implementing the native 1:1 relationships support and database default values support in Q2 2012, for the next official version we are going to continue delivering new features based on your feedback. Currently the most popular item in our Public Issues Tracking System (PITS) is “Database Functions Support” so this is the winner you can expect to see in the product as early as Q3 2012, expected to be out very soon! Furthermore, you should know that we have surpassed the initial expectations for this new feature and decided to add a brand new capability to our Domain Methods - read on and learn how...

  •  

    As a response to your constant requests for sample projects demonstrating the best practices of using OpenAccess ORM in web projects, we have released some of the new and updated samples before Q1 2012 so that you can benefit from them immediately.

     

    MVC developers will be happy to know that along with the MVC 2 example “MVC Forum”, we are now offering two solutions demonstrating MVC 3 usage with Fluent API or an .rlinq Domain Model – whichever approach you prefer. In addition, you can see an implementation using the Razor view engine as an alternative of the default one. Find the...

  • [Cross posted from http://www.skimedic.com]

    Technorati Tags: ,

    Yesterday, after my session on LINQ at MADExpo, a gentleman asked me how I would solve a certain problem that he is facing at work with LINQ.  Here is my solution (turns out I was a little brain dead after giving three sessions at the conference, so while he was sitting with me, I just couldn’t see it).

    The Problem

    The problem consists of a list of salespeople that have sales.  Here are the classes involved:

    public class SalesPerson
    
    {
    
     public string Name { get; set; }
    
     
     public IList<Sales> Sales { get; set;...
  • One of the most-asked questions when it comes to the ASP.NET Ajax RadGrid is "How do I improve performance?". We have covered this in some Webinars and videos that can be found on Telerik TV in a series which has been released in three parts: Part One, Part Two and Part Three. One thing I wanted to bring up with respect to performance is the usage of LINQ (Language Integrated Query) and our RadGrid. Although LINQ has been out since the initial release of .NET 3.5 I still receive quite a few questions when it comes to using it with our...

  • Following the great series about RadDataPager started by Rossen and Pavel today I’m going to show you how to implement logical paging. We are going to implement alphabetical paging similar to this ASP.NET AJAX Grid Demo.

    As you may already know the key to the heart of the RadDataPager is the IPagedCollectionView interface. You can create your own implementations of this interface and implement any custom logic for paging you want. This is exactly what we are going to do in this article.

    Introducing PagedCollectionViewBase and LogicallyPagedCollectionView<T>

    If you have looked at IPagedCollectionView interface you may have found out that it is not a trivial interface to...

  • As some of you may already know the Q2 release of RadGridView for WPF ships with a brand new “data engine” entirely based on LINQ. This means that all data operations including sorting, filtering, grouping, aggregating and paging will be pushed down to the IQueryProvider when RadGridView is bound to an IQueryable. For example if you are using LinqToSql, LinqToEntities or OpenAccess ORM all gird operations are executed on the SQL server using the magic of LINQ providers.

    Staying on the cutting edge I decide to try out PLINQ (Parallel LINQ) and enable RadGridView to execute its data operations on all available CPU cores. PLINQ...

  • LinqPad is a nice and popular query analyzer made to test LINQ queries: whether it is Linq To Sql, Linq to Objects or some other flavor, you will be able to play in a nice way with it. Sadly it does not support Telerik OpenAccess ORM out of the box.

    However we never said it is impossible – you just have to put some more pressure to it. So, the first step is of course to deploy Telerik OpenAccess ORM and LinqPad on your machine. Then do the following:

    a) Open LinqPad and press F4 to bring up the Advanced Query...

  • ADO.NET Data Services (formerly Astoria) is one of the new technologies released as part of v3.5 SP1 of the .NET Framework. If you haven’t tried this new addition to the framework, I highly suggest you give it a spin. It’s very cool and allows you to quickly and easily set up RESTful WCF services with which your application can interact with the database. If you’re interested in learning more, MSDN has several great resources to help you get started.

    One of the cool things about Telerik is that the developers are always mindful of building products that can be easily integrated with existing and future...

  •      There usually comes a time for most developers when they need to use the data being displayed in an application, outside of that application.  There are obviously a number of ways you can present data, but it is common to leverage Microsoft Excel.  It provides a similar look and feel to the grid which means minimal reformatting, plus Excel is widely used and therefore most offices should have a version of the software available. 

         How to get your data into Excel?  The RadGridView offers a couple of options to accomplish this task.  First, you can use the Primary...

  • Our customers who use the Telerik ASP.NET line of controls are used to having paging in their grids. This approach, however, is seldom used for WinForms applications, although there are cases when paging in WinForms grids is needed as well, especially when there are million records in the database (literally).

    You may have seen the blog post by Vladimir Enchev about implementing paging with RadGridView for WPF (if you have not, this is the right time to do so :)). A couple of days ago Mr. Enchev came by and said "You know guys, you could do the same thing with your WinForms...