Telerik blogs
  • Productivity

    Dynamic Sorting of Reporting Crosstabs Using a Custom Aggregate Function

    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...
    April 29, 2010
  • Web

    Events in Task-It - Part 2

    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...
    April 29, 2010
  • Web ASP.NET AJAX

    Creating a Custom RadSpell Dictionary

    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...
    April 29, 2010
  • Productivity

    Playing with aspx page cycle using JustMock

    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: public enum PageStep {     PreInit,     Load,     PreRender,     UnLoad } Once doing so, i  first created the page object [not mocking]. 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 –>...
    April 29, 2010
  • Release

    New JustMock build available for download.

    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...
    April 29, 2010
  • Productivity

    Dynamic Sorting of Reporting Crosstabs Using a Custom Aggregate Function

    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...
    April 29, 2010
  • Web

    Events in Task-It - Part 2

    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...
    April 29, 2010
  • Web ASP.NET AJAX

    Creating a Custom RadSpell Dictionary

    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...
    April 29, 2010
  • Productivity

    Playing with aspx page cycle using JustMock

    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: public enum PageStep {     PreInit,     Load,     PreRender,     UnLoad } Once doing so, i  first created the page object [not mocking]. 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 –>...
    April 29, 2010
  • Release

    New JustMock build available for download.

    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...
    April 29, 2010