• This is just another update of RadControls for ASP.NET AJAX control integration with DynamicData.
    What's updated:

    You can download latest bits from...
  • In this post we will discuss how to add associations in a forward mapping scenario with our Visual Designer. We will start from scratch and build a model with two entities – Category and Product where each Product belongs to at most one Category (a zero-or-one-to-many relationship from the categories to the products).

    1. In the solution explorer right-click your project (where you want to add the persistent types) and select OpenAccess -> Add Domain Model. We will create an empty model.

     

     

    2. The next step is to create a new database which we will name WarehouseDB. Creating a brand new database can be achieved...

  • After making the post on mocking LINQ to SQL, this morning i was having a chat with Stephen forte and come to know that telerik a has product named RLINQ. RLINQ is built on top of OpenAccess and it supports variety of databases. Being curious, i thought of giving a spin with it and may be try to mock its LINQ to SQL implementation using JustMock.

     

    Now, before i start, i also found that OpenAccess has a free / express version that works on top express database [Ex.sqlexpress] but supports all the features that full version offers. I will be using the...

  • People usually know Telerik for our individual developer productivity tools. With the release of TeamPulse yesterday, Telerik is entering the Agile ALM space and delivers team productivity tools to the market.

    The idea for TeamPulse was hatched a long time ago at Telerik. It started when we realized that we had a lot of agile teams that compete in a very dynamic marketplace. Our teams at Telerik are agile, high performing, and need to rapidly react to new conditions. (I remember when we were building our Silverlight controls, each CTP/beta of Silverlight v 2.0 broke our code so deeply that we had to start over at each beta!)...

  • As the Logical vs. Visual Grid Structure help article states, RadGridView for WinForms uses virtualization for its cells/rows and as of Q2 2010 there is column virtualization as well. What is virtualization? To put it simply, when you bind RadGridView to a DataTable with 1000 rows, you get 1000 data row objects created in RadGridView (of type GridViewDataRowInfo). However, not all data row objects can be visible at the same time in the RadGridView estate in your application. This is why only the visual rows that can be shown in the estate get created (these visual rows are of type GridDataRowElement), or about...

  • Last time we saw how we can inject code at the beginning of generic methods. Today I will show you how to inject code in properties. I will cover the syntax for static classes as well.

    So, let's start with a demo program that I will explain line-by-line.

    using System;
    using Telerik.CodeWeaver.Hook;
     
    namespace ConsoleApplication4
    {
        public sealed class TargetClass1
        {
            public TargetClass1(string text)
            {
                Text = InitText = text;
            }
     
            public string InitText { get; private set;...
  • One of the new features of Telerik OpenAccess ORM Visual designer is the forward mapping wizard that can be used to update the database schema from the model. Yes it is true! With just few clicks you are able to generate and execute either a schema definition or schema update script that will alter you database schema.

    First you will need to open our Schema Update Wizard. You can do this by either right clicking in the schema explorer or in the model explorer: the command is named Update Database from Model… This will open the following page:

    schemaUpdateWizardFirstPage

    On the first page you...

  • One of the new goodies that came with RadGridView Q2 2010 is the brand new drag and drop API, which offers a very flexible way to create custom drag and drop scenarios with ease.

    Each instance of RadGridView is associated with RadGridViewDragDropService that handles user drag and drop operations. It gives you out-of-the-box reordering of columns and movement of items between the group panel and the columns header. The service is also responsible for rows reordering in unbound mode when grouping and sorting features are not applied.

    DragAndDrop

    In many cases, developers need to implement complex custom scenarios that are not covered by our products by default....

  • This week we will release new major feature for the RadRibbonBar – keyboard access.

    KeyTips provide keyboard access to every control in the Ribbon. They are activated by pressing the ALT key, following by the key for the button you want to activate. KeyTips are very well explained at the Microsoft’s fluent UI guidelines, you can read more about KeyTips on msdn…

    This feature is in the Required section from the Ribbon specification, but it’s nature and hard implementation details was preventing us from implementing it sooner.

    Currently this feature is the one with most votes in our PITS system, thus we considered it for...

  • Localizing the Validation

    Monday, July 26, 2010 by XAML Team | Go comment!

    Validation04

    The example will work with the latest internal build and the feature required will be released in the Silverlight4, 2010.Q2.SP1.

    The Full Source Code is here.

    A few months ago we noticed a lot of XAML code being copied around. It was supposed to enable validation in our controls. It is all about those red borders showing around controls like RadNumericUpDown, RadComboBox, RadDatePicker etc. So we have created the ValidationTooltip in the assembly Telerik.Windows.Controls, namespace Telerik.Windows.Controls.Chromes that was supposed to encapsulate these visuals keeping all the storyboards and templates at one place. This all happened in Silverlight 3. Now in Silverlight 4...

Product Families