Telerik blogs

Latest

  • Web

    RadControls for Silverlight 2 - Drag and Drop Basics

    Who would not like to implement a sleek drag and drop in minutes? I definitely would. This is why I find the new RadDragAndDrop a welcome addition to the controls. Straight to the point then: How to implement a simple drag/drop? To answer this question I will walk you through the DragDrop example that is available here: http://demos.telerik.com/silverlight/#Examples/DragAndDrop/FirstLook This example shows that the DragDrop can be used with any controls/objects, not just the Telerik RadControls. DragDrop 101 Few simple things to remember: Every object that will be dragged must have AllowDrag property to true, it is an attached property and in xaml it can be set the following way:   <Rectangle...
    October 15, 2008
  • Web ASP.NET AJAX

    Optimized Rendering and Skins for RadCalendar for ASP.NET AJAX

    I have the pleasure to announce that RadCalendar for ASP.NET AJAX has undergone a considerable HTML and CSS optimization. As a result, the HTML output generated by the following RadCalendar declaration has dropped from 5,916 bytes to 3,905 bytes, or by...
    October 14, 2008
  • Web

    RadControls for Silverlight Demo with ADO.NET Data Services

    Yesterday I wrote about how to databind RadTreeView for Silverlight to ADO.NET Data Service and use Load on Demand. The simple application from yesterday was upgraded to a small back-end application for the Northwind database, that allows editing and deleting products. This time I decided to give it to one of our designers and our new Silverlight front end developer and they implemented this slick design: The application is available online: http://demos.telerik.com/silverlight/northwindbackend/Default.aspx The source code can be downloaded from here: NorthwindBackend.zip In addition to yesterday's application, NorthwindBackend has extended data source, that provides simple undo mechanism and ability to update and delete products...
    October 09, 2008
  • Web jQuery

    Telerik RadGrid client-side data-binding using jQuery

    Instead of traditional ASP.NET AJAX approach for "Exposing Web Services to Client Script" you can use jQuery and JSON2 JavaScript libraries to achieve the same very easily. Using this simple method you can call any page method in ASP.NET Page or WebService method: function executeMethod(location, methodName, methodArguments, onSuccess, onFail) {     $.ajax({         type: "POST",         url: location + "/" + methodName,         data: methodArguments,         contentType: "application/json; charset=utf-8",         dataType: "json",         success: onSuccess,         fail: onFail     }); }   Here is an example also how to use JSON2 JavaScript library to serialize any JavaScript object to string: function getRequestData(tableView) {     return JSON.stringify({...
    October 09, 2008
  • Web ASP.NET AJAX

    RadTips, Episode 8: Customizing the RadScheduler with Templates

    Welcome back to another episode of RadTips, a series of episodes offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific RadControl feature: 1 - Client-Side Data Binding in the RadGrid 2 - Client-Side Paging in the RadGrid 3 - Client-Side Sorting in the RadGrid 4 - Client-Side Filtering in the RadGrid 5 - Getting Started with the RadScheduler 6 - Using the LinqDataSource in your RadGrid ...
    October 09, 2008