Telerik blogs

Latest

  • 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...
    May 27, 2021 8 min read
  • 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 –>...
    May 27, 2021 2 min read
  • Productivity Reporting

    How to create Self-Hosted Telerik Reporting WCF Service in 9 easy steps

    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...
    March 10, 2025 3 min read
  • Productivity Testing

    StarEast Kicks off Today with Telerik on Board

    We are excited to take part in the premier testing event of the year – StarEast, which takes place in Orlando, Florida, April 25-30. Telerik is a platinum sponsor and exhibitor of this year’s conference. Watch Telerik booth @ StarEast on video See more photos Telerik team will be showcasing our recently introduced automated testing tools (The official premiere of Telerik new automated testing division took place at DevConnections a couple of weeks ago – watch it on Telerik TV). If you plan to be at StarEast, make sure to stop by Telerik booth #10 for a live ...
    May 27, 2021 1 min read
  • Productivity

    JustCode – Color Identifiers in Depth

    Last time we looked at the basics of JustCode color identifiers. In this blog I will go a bit more in-depth about each of the available markers. There are quite a few, and we will be adding more as we mature JustCode.    What Do All of Those Markers DO? There are many markers listed in the “Display Item” list view, and you might not immediately know what some of these affect in the UI. That is why I have come up with this “cheat sheet” explaining each setting. Note: This code snippet contains at least one of every item JustCode colorizes. I turned off...
    May 27, 2021 4 min read