• .NET

    How to Create Ad Rotator with Telerik TransitionControl and CoverFlow control for Silverlight

    function onSilverlightError(sender, args) { var appSource = ""; if (sender != null && sender != 0) { appSource = sender.getHost().Source; } var errorType = args.ErrorType; var iErrorCode = args.ErrorCode; if (errorType == "ImageError" || errorType == "MediaError") { return; } var errMsg = "Unhandled Error in Silverlight Application " + appSource + "\n" ; errMsg += "Code: "+ iErrorCode + " \n"; errMsg += "Category: " + errorType + " \n"; errMsg += "Message: " + args.ErrorMessage + " \n"; if (errorType == "ParserError") { errMsg += "File: " + args.xamlFile + " \n"; errMsg += "Line: " + args.lineNumber + " \n"; errMsg += "Position: " + args.charPosition + " \n"; } else if (errorType == "RuntimeError") { if (args.lineNumber != 0) { errMsg += "Line: " + args.lineNumber + " \n"; errMsg += "Position: " + args.charPosition + " \n"; } errMsg += "MethodName: " + args.methodName + " \n"; } throw new Error(errMsg); } Today I'm going to show you a very simple way to turn any ContentControl or a ListBox control into an AdRotator control. "What is AdRotator control?", you would ask. A common definition for an AdRotator is a control that lets you to show some data (most commonly ads) and change it periodically. An AdRotator control should be a control that lets you do that out-of-the-box without writing any code. Furthermore, switching the ads with a nice animation will give our AdRotator more polished and glamorous look. To accomplish this, we are going to use RadTransitionControl (a ContentControl) and RadCoverFlow (a ListBox)...
  • .NET

    UI Virtualization in CoverFlow for Silverlight

        While we are still on the crest of a performance wave, I want to spend some time to introduce the power of UI Virtualization in CoverFlow for Silverlight coming with our 2010 Q1 release.     The two most common scenarios for using a CoverFlow is either to create a navigation menu that features a small number of items, or to build a browsing control for images or videos that can feature up to a million items. The first case is quiet straight-forward. For a navigation control you generally have no more than 10-12 items which are handled with ease in...
  • .NET

    Vertical Orientation of CoverFlow for Silverlight

        The feedback about our new version of CoverFlow for Silverlight has been great! Thank you guys for pointing out all these small issues and problems that had to be polished since we introduced a new beta CoverFlow for Silverlight 3 back in September. After the core functionality of the control is successfully integrated in our Silverlight 3 suite, we are now able to start developing new features that every grown-up CoverFlow control should possess :) Vertical Orientation     Both in our forum and support system we have received numerous requests for vertical orientation of the CoverFlow control. That is why, with our 2009...
  • .NET

    Data-binding Telerik CoverFlow for Silverlight + some Routed Commands goodness

    November 05, 2009 Share
    With our still hot Q3 2009 release we introduced a brand new RadCoverFlow control, that was rewritten from scratch in order to be able to exploit some new features in Silverlight 3 that improved both its performance and appearance. We are now using matrix projections to transform the items’ content and pixel shader effects to render the reflection. This allows us to show and properly transform any element in RadCoverFlow, including UI Elements, controls and video, as well as instantly synchronize the reflection. This major change in the control caused major changes in its API and usage patterns. We provide some...
  • .NET

    Navigation for CoverFlow

    October 06, 2009 Share
    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...