Telerik blogs

Latest

  • Web

    On Demand Translators for Silverlight: File Your Request Now

    You are probably aware that one of the great new features coming up with the WebUI Test Studio v2.0 is the Silverlight automation support! Yes, that’s correct – you will be able to record all your tests against any Silverlight application as easy as you currently generate the ASP.NET tests. As you might expect we are also working on the RadControls for Silverlight translators. They will let you automate the RadControls for Silverlight components out-of-the-box. I’ve just captured a snapshot of the RadTreeView translator providing some helpful verification tasks. It is taken from the live demo here. While organizing ...
    August 19, 2009 2 min read
  • Web

    Customizing the header of RadPane control and adding behavior to it.

    It is often necessary to customize the header of a RadPane. Really common is to need to put an image in the header, to bind that image to a property, etc. There are many scenarios in which you need to add some custom behavior to the header. One of this situations is when you need to have close button or another button in the header of the pane. The tricky thing here is that you need to implement an event handler for the Click event of the button and to write some code that will do something with the Pane. In...
    August 19, 2009 4 min read
  • Web

    Drag and drop items onto RadScheduler for Silverlight

    We all are aware that users tend to look for the easiest and most rational way to do something. That is why developers always strive to create their products' interface as intuitive as possible. Speaking in this context, dragging and dropping helps us improve user experience significantly and make end users happier. In this blog post I will explain how we can use RadDragAndDrop to enable users drag items from a certain control and drop them over RadScheduler, while notifying about that. Of course, the described scenario could be extended to act in many different scenarios. Let us say we will drag items from a listbox to...
    August 19, 2009 2 min read
  • Web

    RadDrag&Drop with a Canvas twist

    A week or so ago I was giving a small presentation and one of the people in the audience had a great question.  They had this old configuration section on their website for laying out something or other that had a lot of different options which could be dragged and dropped using some client-side javascript, but they are looking to move on up to Silverlight and the RadDragAndDropManager seemed to be the perfect candidate for the job.  The only issue with that is the only examples we have online show moving items to and from collections, but in their case...
    August 18, 2009 2 min read
  • Release

    RadFormDecorator is Getting Even More CSS3

    A couple of versions ago, WebKit implemented their own vendor-specific property for the CSS3 appearance. It is called -khtml-appearance. According to the specifications of the World Wide Web Consortium: “CSS appearance sets 'appearance' to the specified value and the other properties to their appropriate system value.  'normal' resets 'appearance' to 'normal' and the others to 'inherit'. The 'appearance' property does not affect the specified or computed values of any other properties.” A little bit of vague explanation, however it is not the point of my blog post. Using this WebKit feature in RadFormDecorator was crucial, and let us drop the listening to the poorly...
    August 14, 2009 4 min read
  • Productivity

    The Telerik CAB Enabling Kit and SCSF – Tutorial 2: UIExtensionSites

    Hello everyone, and welcome to the second tutorial in my series of tutorials about the Telerik CAB Enabling Kit (TCEK). This week I will be talking about the UIExtensionSites supported in the TCEK. The TCEK comes with a number of UI Adapters that provide support for the following controls. RadMenu RadToolStrip RadPanelBar RadTreeView These controls are supported through the registration of custom Adapter Factories and Command Adapters. Adapter Factories simplify the task of creating custom UI Adapters for individual controls. Command Adapters allow you to add invokers and/or set command status on specific controls. In the last tutorial, we created ...
    August 14, 2009 13 min read
  • Productivity

    LINQ Tip of the week: LINQ and Anonymous types

    Today we have a closer look at using LINQ and anonymous types and it's pros and cons. Consider the case where we want to obtain a subset of data instead of an entire persistent instance. For example, if we want to obtain the contact details of all Customers based in London we would use the following query var query = from c in scope.Extent<Customer>()                    where c.City.Equals("London")                    select new { c.City, c.Address, c.ContactName };   Notice the last line in the above query - select new { c.City, c.Address, c.ContactName } This line creates an anonymous type. Behind the scenes, at compile time, a very simple class is generated automatically. In this case, three...
    August 13, 2009 3 min read
  • Release

    RadControls Silverlight 3 Official with Q2 2009 SP1

    It is official – Telerik RadControls for Silverlight3 are here with the latest 2009 Q2 SP1 release. We did our best to take advantage of all new and exciting features from the latest version of the platform. RadControls now offer a new theming mechanism and you can clearly see the difference when you open our demo examples in Blend. We also added support for .NET RIA Services for all data-bound Telerik Silverlight 3 controls. Check the codeless binding of RadgridView to DomainDataSource to see how it works. The next exciting additions are validation for all input controls and out of browser support so now you...
    August 13, 2009 1 min read
  • Release

    Announcing a new product line - Telerik Extensions for ASP.NET MVC

    It is a great pleasure to announce our new product line - Telerik Extensions for ASP.NET MVC. As the name suggest we are building a new UI component suite targeting the ASP.NET MVC framework. The new product line will not be based on RadControls for ASP.NET Ajax nor will it depend on ASP.NET Ajax or ASP.NET WebForms. No page lifecycle, ScriptManager dependency, viewstate or postback . And did I mention that it would be FREE? Free and Open Source Telerik Extensions for ASP.NET MVC is available as an open source product under the Ms-PL license. For the first time Telerik will be releasing a free...
    August 12, 2009 3 min read
  • Productivity

    Telerik OpenAccess ORM and the Second Level Cache

    As we already mentioned last week, Telerik OpenAccess ORM manages two cache levels – one specific for each ObjectScope instance and another shared by all scopes. The shared cache is generally called the "2nd level cache" or the "L2 cache". Its main job is to hold copies of the database content in memory. The L2 cache is populated during read access and gives fast retrieval of commonly used objects. This could be extremely helpful in multithreaded applications, where every single thread has its own ObjectScope. In order to avoid too many calls from each scope to the relational server, the L2...
    August 11, 2009 3 min read