• One of the new features that will come with the next version of RadGridView is the new data conversion layer.

    In our daily work we have often got into troubles in visualizing and formating concrete types as other types. Sometimes the data source is not compatible with the bind target. Hence, you need to create a facade that converts the data to desired type.

    Let’s say that you bind the grid to a source that is incompatible with the columns that you want to show, for example a GridViewCheckBoxColumn for char field instead of GridViewTextBoxColumn. How can you accomplish that?

    screenshot

    The new version of RadGridView will...

  • In my last post I went over how to create your own custom dictionary for RadSpell and since this control is fully integrated into our RadEditor control I wanted to discuss how to use your custom dictionary with the RadEditor, as well as how to localize the RadEditor itself.

    To start off we want to make sure that we can take use of our custom dictionary in the RadEditor. To do this we need to make sure that the “RadSpell” folder is located in the “App_Data” folder of our project. In the RadSpell folder we have to add all of our custom...

  • Customers often ask questions about how to sort the rows of a table or a crosstab by a specific column, when the column is chosen dynamically according to a certain criteria or specified directly by the end user. This can be trivially accomplished for a table, because the exact number and names of the individual columns is previously known and fixed. In most cases it is simply a matter of specifying an appropriate sorting expression to the table. On the other hand, sorting a crosstab by a specific column is not so simple to accomplish. The crosstab generates its rows and...

  • Events in Task-It - Part 2

    Thursday, April 29, 2010 by XAML Team | Go comment!

    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.

    Providing feedback to the user

    In my last post I talked about using events to pass information from the RadTreeView to the RadGridView in the Tasks page in Task-It. In this post I'll talk about events that are...

  • The RadSpell control for ASP.NET Ajax allows you to provide your users with spellchecking in your ASP.NET Ajax applications. The control can be used to spellcheck any server or client editable element which means that any textbox, div, or iframe can be spell checked. Out of the box only three languages are supported by RadSpell; English, French and German. However, we have an offering of several languages that can be downloaded, found in this forum thread, which can be used with RadSpell. These files may be incomplete since they are not officially supported by Telerik, but overall they do provide...

  • In this post , I will cover a test code that will mock the various elements needed to complete a HTTP page request and  assert the expected page cycle steps. To begin, i have a simple enumeration that has my predefined page steps:

    1. public enum PageStep
    2. {
    3.     PreInit,
    4.     Load,
    5.     PreRender,
    6.     UnLoad
    7. }

    Once doing so, i  first created the page object [not mocking].

    1. Page page = new Page();

    Here, our target is to fire up the page process through ProcessRequest call, now if we take a look inside the method with reflector.net,  the call trace will go like : ProcessRequest –> ProcessRequestWithNoAssert –>...

  • We've been quite busy lately, trying to fix all the known issues and all the newly discovered problems (mainly thanks to customers' feedback).
    Fortunately we've managed to fix most of these problems and here's a list of all the fixes and small improvements, available in the latest JustMock build:

    • Support for Visual Studio 2010 RTM. We've also included VS2010 solutions with examples so that you don't need to convert the 2008 solutions to 2010.
    • Support for TestDriven.NET. Now you can run tests, which mock final, static, etc. members, using TestDriven.NET. Unfortunately, due to some integration between TypeMock and TestDriven.NET, the tests will still fail...
  • With the 2010 Q1 SP1 release of Telerik Reporting we have introduced Self-Hosted Reporting WCF Service. In the following blog we are explaining how to use our new feature.

    First lets highlight the advantages of the Self-Hosted services:

    • Easy to use: With only a few lines of code you have your service running.
    • Easy to debug: Debugging WCF services that are hosted in a self-hosted environment provides a familiar way of debugging, without having to attach to separate applications that activate your service.
    • Easy to deploy.
    • Flexible: You can easily control the lifetime of your services.
    • Supports all bindings and transport.

    For the service...

  • 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...

  • Events in Task-It - Part 1

    Wednesday, April 28, 2010 by XAML Team | Comment 1

    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.

    Communicating between components

    In any Silverlight application there are going to be times when you want to communicate between different components in your app. These could be UserControls, view model classes, whatever. To do this you need a framework for...