Telerik blogs

Latest

  • Release

    JustCode Q3 Typing Assistance Improvements

    We designed the typing assistance feature of JustCode to increase your productivity by saving you keystrokes without getting in your way. In this release, we enhanced this feature, making it faster and better than ever. Brace positioning When you press enter between opening and closing brace, JustCode positions the braces correctly and inserts an empty line so you can begin typing immediately. Previously, JustCode used the formatting feature to position braces correctly, and this was sometimes slow. The brace positioning no longer relies on the formatter, and the result is extremely fast. Wrap statement in braces When you add an open brace at the beginning of...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    Browser Zoom - Why Does It Break Your Page And How To Avoid It

    The current situation The major browsers offer the option to zoom the entire page rather than just increase the font size. This is an important accessibility feature, which is often used not only by people with vision impairments, but also by users that, for different reasons, need to see the page smaller or larger. Usually we zoom to increase the font size but, since the browser zooms the entire page, visual glitches could appear when the layout is based on background images and/or sprites. It will not ruin the page accessibility but will leave a feeling that the UI is not structured very well. And we don’t want...
    May 27, 2021 6 min read
  • Mobile

    WinRT app guide: Step 14: Adding layout awareness and snapped view, disabling portrait view

    To read the other steps in the step by step guide for creating a Metr0/ WInRT application go here. We are getting closer to a final first version of this app!
    May 27, 2021 1 min read
  • Productivity

    More on Flexible Locators

    Knowing how to create flexible locators is critical to crafting stable tests that will hold up in the long run. The example I use in Telerik’s Online Instructor Led and Team training sessions centers around working with a row from a table. This table, to be precise! Note the grid control has created an ID value for that row – and that ID is completely position-based: ctl00_MainContent_PeopleGrid_ctl00__1. (Look at the row above and below. The IDs all end with “__<number>”.) By default, Test Studio’s recorder will define this row’s locator using that ID value. Normally IDs are ...
    May 27, 2021 4 min read
  • Productivity Debugging

    What&rsquo;s new in Fiddler 2.4.1.1

    I’ve been working on several exciting enhancements since I moved to develop Fiddler full-time last month. Major work is underway to improve Fiddler and the Fiddler website, based in part on feedback we’ve received from the poll on the Fiddler homepage.In today’s post, I’d like to quickly point out a few minor improvements in the current release version that you might have overlooked.Composer ImprovementsFiddler’s Composer enables you to create and issue a HTTP(S) request, either from scratch, or by dragging in a prior request from the Web Sessions list. The Composer is especially useful for testing ...
    May 27, 2021 3 min read
  • Productivity

    Mocking LINQ Queries

    Unit testing LINQ queries can be really challenging. This requires a deep knowledge of how LINQ queries work and how they filter results based on predicate values.  While I am adopting test first development approach, it is most likely that I want to verify the behavior of a query for correctness. In this post, I will show how easy it is to mock a LINQ query using JustMock for a given context. First, let me build up the context with a simple entity class for Employee that has two properties: Next, I created a dummy context that inherits the LINQ to SQL...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    Filtering Options for Your Telerik ASP.NET AJAX PivotGrid

    RadPivotGrid’s development is gathering momentum and Q3 brings along a major improvement: our pivot grid control for Asp.Net Ajax already comes equipped with a powerful filtering mechanism. Let’s look straight into what this new feature offers. Filtering in RadPivotGrid supports three modes: report, label and value. 1. Report filters Report filters are applied on fields that do not participate in the grouping of the data but are still present in the underlying data source:   So, for example, let’s suppose that your data items grouped by RadPivotGrid feature a Category property with 100 unique values. Furthermore, your manager needs a report where the data should be grouped...
    May 27, 2021 4 min read
  • Release

    A Sneak Peek at our ASP.NET AJAX RibbonBar development

    A few months ago, I blogged about Telerik’s ASP.NET RibbonBar control (or just ribbon for short) in general: why use it; a few words about the ribbon spec; improvements we have made and future plans we have for it. Now, few days after the 2012 Q3 release, I am blogging about our progress in this area, as well as bringing up some other lesser known features of the ribbon. What's old new in the Ribbon I did mention this in my previous post, but perhaps I did not emphasize it enough: apart from complying with the MS specs more, we introduced two major features for...
    May 27, 2021 5 min read
  • Release

    Introducing revamped ChartDataSource for WPF and Silverlight

    It is only a few days since the 2012 Q3 release of RadControls for Silverlight and WPF and we have something new to show you. Here in Telerik we really appreciate feedback from you, the customer. Following this feedback we revamped our ChartDataSource to include the most desired features and we also significantly improved performance. Let’s start with a few words on the ChartDataSource itself. If you are familiar with it you can safely skip this section and move directly to the goodies. The ChartDataSource is a companion control, designed to work together with our new charting solution –...
    May 27, 2021 3 min read
  • Productivity

    Abstracting Dependencies with JustMock

    Unit tests are most effective when the System Under Test is isolated from its dependencies.  The best way to isolate your code (and make your code more SOLID) is through dependency injection. But even if you follow the rules of SOLID and inject all of the necessary dependencies in as interfaces, you are still faced with the fact that you depend on them. In order to test your code, something concrete has to be passed into the code in order for it to even compile.  Your production code will most likely use a factory to create concrete instances of the dependent interfaces, but that...
    May 27, 2021 4 min read