Telerik blogs

Latest

  • Web

    Using WCF for Silverlight Development with Telerik OpenAccess

    digg_url = "http://www.stephenforte.net/PermaLink,guid,e137f5a7-7bea-4722-9359-5f830d95e691.aspx";digg_title = "Using WCF for Silverlight Development with Telerik OpenAccess";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; Microsoft’s Silverlight 3.0 is a great new platform for building line of business applications. With every new technology advancement, we always seem to lose something. With Silverlight we lose the dirt simple data access since Silverlight does not support System.Data.SQLClient and talking to a database directly. This forces us into a service oriented architecture and an asynchronous model. While this is definitely a best practice, it sometimes takes a little getting used to. With Silverlight we have to wrap up our data access layer into WCF services. (Or Astoria, RIA Services, or something similar.) It is also pretty standard to use some kind of ORM like the Entity Framework...
    May 27, 2021 5 min read
  • 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 ...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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 ...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 3 min read