Telerik blogs

Latest

  • Web ASP.NET AJAX

    Using the RadFileExplorer for ASP.NET AJAX in SharePoint 2010 web parts

    This blog post will show how to integrate the RadFileExplorer control for ASP.NET AJAX to work with SharePoint 2010 libraries. If you need a version for MOSS 2007, take a look at this earlier post. By default, the control interfaces with a virtual folder in your web application and allows you to do all kinds of file/folder operations (create new folders, upload/move/delete/rename items, preview, etc.). The default behavior of the control is limited to virtual folders that can be mapped to physical locations on the server's drives. SharePoint web applications use libraries to store documents/images and these libraries are only available from the SharePoint...
  • Web

    Just Another Way to Visualize Your Data Using RadTreeView for Silverlight

    For the past couple of days I've been playing with the way RadTreeView renders its items. To be honest, I wasn't looking for any particular outcome. I was doing it just for fun, hoping that something interesting might come out. And it did. I ended up with something quite interesting and it would be a shame not to share it. Bellow are few screenshots which show the TreeView from its initial state to the point where its deepest item is expanded. Note: I do lack certain designer skills :) The TreeView is bound to an XML data source which has the following...
  • Web

    Integrating Silverlight Data Visualization controls with WCF RIA Services

    Hello everyone! There are several blogposts which demonstrate how to bind RadControls to an SQL database using WCF RIA services. This one will show how the Data Visualization controls can be bound to а sample database with RIA services. For this sample a combination of RadTimeBar and RadLinearSparkline is used without code behind modifications or ViewModel. Changing the selection of TimeBar’s time span updates the “Flight Statistics” and “Arrivals and Departures statistics” charts. The Bar Chart is populated with the number of Arrivals per Date (as being selected) and the Pie shows the Total of the Arrivals/Departures for the chosen...
  • Web

    Reading/Writing cookies with HtmlPlaceholder for Silverlight

    Recently we received a support ticket with a question whether RadHtmlPlaceholder provides support for cookies. By default, RadHtmlPlaceholder doesn't have a mechanism for reading/writing cookies. However, with the right bits of JavaScript, everything is possible :) Imagine you have an HTML page which you want to read/write cookies to and all this has to happen from Silverlight. First, you need few JavaScript methods for reading/writing cookies. Let's call the page we want to read/write cookies to CookiesPage.html. <html>     <head>         <title>Cookies Page</title>         <script type="text/javascript">             // Create a cookie with the specified name and value             function SetCookie(name, value) {                 document.cookie = name + "=" + value;                 alert("Cookie successfully set");             }             // Retrieve the value of...
  • Web ASP.NET AJAX

    Memory Leaks and Memory Consumption in web applications (Part 3)

    This post is number three in a three part series about memory consumption for web applications. Links to Part 1 and Part 2. Memory Consumption - Best Practices To be perfectly honest there is only one issue with memory consumption, i.e. using too much of it. Size does matter. Therefore every web developer should try and minimize the impact on the usage of memory, especially when the application tends to become huge. Web applications are becoming more and more client-side oriented and staying on one and the same page for hours should not be an exception. Therefore careful creation of new objects, managing the...