• .NET

    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...
  • .NET

    Performance Improvements in RadSlider

    As Miro mentioned in his last post, with the upcoming 2011 Q1 Beta, we will release a new and improved version of RadSlider. A lot new features are being added and many of the existing hot spots were addressed along the way. One of them - the performance hit when RadSlider has to re-render its ticks. I took the liberty to compare the impact of RadSlider on an application before and after we made the improvements. Scenario: Every second, for 60 seconds, generate a new ViewModel and set it as DataContext to RadSlider. Goal: See how many times the LayoutUpdated event will...
  • .NET

    How to create Scatter Error Bars and Box Plot Series with RadChart for SL/WPF

       Currently RadChart provides 27 2D Chart types for SL/WPF. You can easily customise the existing chart types to create a more complex series like the box plot(also known as box-and-whisker diagram and widely spread in descriptive statistics). This blog post will demonstrate how to create Box Plot and Scatter Error bars by reusing the default Styles of the CandleStick and Scatter series and adding custom CandleStick / CandleStickSeriesDefinition (ScatterPoint/ ScatterSeriesDefinition) pair of classes. Box Plot: The BoxPlot have five number summaries: the smallest observation (sample minimum), lower quartile(Q1), median (Q2), upper quartile(Q3), and largest observation (sample maximum).For the purpose the Open, Close, High and Low...
  • .NET

    Q1 2011 Service Pack 1 of RadControls for Silverlight/WPF is out

    I am very excited to announce the availability of our Q1 2011 Service Pack 1 release for RadControls for Silverlight/WPF. Alongside with a lot of improvements and exciting new features we ship the official version of RadTimeBar for Silverlight and WPF. You can check its online examples here. The full release notes are available at: RadControls for Silverlight Release Notes RadControls for WPF Release Notes The installation files are available under your accounts. The online demos can be checked at: RadControls for Silverlight RadControls for WPF As always your feedback will be greatly appreciated....
  • .NET

    TileView Selection

      I’m happy to announce that with the Q1 2011 SP1 release RadTileView will have yet another new and amazing feature – selection. This will allow you to mark, group or highlight your TileViewItems with a single click. The TileView selection supports three modes: Single – this is the default selection mode and it is the simplest one as well. In this mode you select/deselect an item by a single left mouse button click and you can’t have more that one selected item. Multiple – this is similar to the Single mode, the only difference is that you can select more that one item. Extended – this...