Telerik blogs
  • Mobile

    Lambda woes with csc

    While helping with the development of our Tasks application I stumbled upon a strange compiler error. There was a lambda expression that was compiling just fine before I touched the file with the lambda and after changing a line inside the body of the lambda, the project suddenly stopped compiling. The error was, that it could not find an adequate overload of the method that accepted the lambda in question as an argument. The cause turned out to be very interesting(for me at least) and I think it is worth sharing. Consider that you have a function with two overloads that both accept...
    October 12, 2011
  • Productivity

    Fun with pointers in C#

    Disclaimer: this post is all about fun. It is not about: turning a bug into a feature; some new isolation/mocking practice; wow, look what I will do with pointers in my next project; It is all about fun :)
    July 19, 2010
  • Productivity

    Navigate Quickly with JustCode and Ctrl+Click

    Ctrl + Click is a widely used shortcut for Go To Definition in many development environments but not in Visual Studio. We, the JustCode team, find it really useful so we added it to Visual Studio. But we didn't stop there - we improved it even further. Read on to find the details. With JustCode you get an enhanced Go To Definition. By default you can execute it in the Visual Studio editor using one of the following shortcuts: Middle Click, Ctrl+Left Click, F12, Ctrl+Enter, Ctrl+B. The first usage of this feature is not much different from the default Visual Studio...
    March 30, 2010
  • Web

    Navigation for CoverFlow

    The Silverlight team decided to remove the ScrollBar control that used to be part of CoverFlow's control template. One of the reasons behind this decision is the easiness by which you can now, using Silverlight 3 element binding, create your own navigation. To learn more about all changes introduced by the beta version check my previous blog post here. This article explains in details how to create your own navigation using a range control, e.g. one that inherits from the RangeBase class. The first thing we need to do is to declare a CoverFlow control with some items in a straight-forward...
    October 06, 2009
  • Web

    Saving some lines of code when using RadWindow

    If you are using some of the predefined modal dialogs part of RadWindow: Alert, Prompt and Confirm you may find this article quite handy. As you know the calls to these methods are asynchronous, thus you cannot stop the current UI thread in order to get the user feedback from the windows synchronously. This introduces some issues such as the need to declare class member variables whenever they may not be necessary. Due to that there have been a few requests on our support website to create a generic parameter inside the static calls of the dialogs with the purpose of carrying...