Telerik blogs
  • Desktop

    Interacting with the RadDatePicker and RadTimePicker for Windows 8

    Introduction My good friend Michael Crump showed how to create an Appointment Tracking app with the RadDatePicker and RadTimePicker in this excellent post. I’m going to start where Michael left off, adding additional business rules and logic by interacting with controls. If you haven’t read his post, you can download the project from here. I will start from this project to add in the additional functionality. Design Goals Imagine that the business has approached the development team and is complaining that users are selecting departure dates that are prior to the arrival date, and there is a desire to make the scheduler more “user...
    November 15, 2012
  • Productivity Testing

    Automocking with JustMock

    Auto mocking containers are designed to reduce the friction of keeping unit test beds in sync with the code being tested as systems are updated and evolve over time. Background The Dependency Inversion Principle states: High level modules should not depend upon low level modules. Both should depend upon abstractions. Abstractions should not depend upon details. Details should depend upon abstractions. As more developers follow this and the rest of Robert Martin’s SOLID principles, methods and classes become much smaller with dependent objects injected into them, typically through constructor injection. As additional dependencies are needed (or the code is refactored to improve dependency isolation), the signatures of...
    November 07, 2012
  • 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...
    November 05, 2012
  • 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...
    October 31, 2012
  • Productivity Reporting

    The Telerik Report Designer: More Powerful Than Ever Webinar

    Slides, Source Code and Video to the "The Telerik Report Designer: More Powerful Than Ever" Webinar Now Available We want to thank you all for attending the Telerik Reporting Webinar. As promised, all of the materials are now available for you to download and explore on your own. If you have any questions, please feel free to leave a comment below. We also suggest that you download Telerik Reporting and the new standalone Report Designer if you haven’t already done so. For Those Who Couldn’t Attend, What is the Telerik Reporting? Telerik Reporting is a lightweight reporting solution for all .NET cloud, web, and...
    October 29, 2012