Telerik blogs
  • Web

    Quick and painless Byte Array to Image converter for RadGridView for Silverlight

    We received a question today in regards to a binding issue with RadGridView, or rather an issue with an Image in a custom cell template that the customer was trying to bind to a custom value.  They had the basic setup right: <DataTemplate>    <Image Source="{Binding ImageData}" /> </DataTemplate> But something wasn't quite working right.  After doing a little digging, we found that they weren't sending a URI to the Image but rather a byte array.  Unfortunately, the Image control in Silverlight doesn't quite know how to pick up on this so you need to convince it- with a converter. With a little bit of coding...
    October 07, 2009
  • Desktop WPF

    Making a Step chart in RadChart for Silverlight and WPF

    So a customer emailed into our office yesterday asking about whether RadChart for Silverlight supported a Step chart type.  Well, while we do have a boatload of chart types already, Step is currently not one of them.  But a Step chart is really just a Line chart with a bit of extra work, right?  With the help of our chart wizard Manol, we were able to show that the LineSeriesDefinition could, in fact, replicate a Step chart.  But that was with setting all points manually and took a bit of thinking to make sure all the steps looked right.  So...
    October 02, 2009
  • Web

    API changes introduced by the new CoverFlow control

    If you missed the buzz, the Telerik team plans to distribute a beta release introducing new controls that will be officially included in the Q3 2009 release scheduled for November 2009. For those of you that didn’t have the opportunity to get familiar with what the new CoverFlow offers, take a look at my previous blog post here.   One of the new pieces that will be part of the pack is the new CoverFlow control. It is important to note that from Q3 2009 all previous versions of the control will be replaced with this one, which is specifically built for...
    September 14, 2009
  • Web

    RadScheduler for Silverlight learning series, part 3: Add, Edit, and Delete Appointments

    If you've been along for the ride so far with this series, you already know that we've hooked a SQL database up to RIA Services using an ADO.Net Entity Data Model and a DomainDataService data context.  If you've missed it, check out the prior two posts (or search RadScheduler for Silverlight learning series in the Telerik Blogs site).  Now that we're here, we have three more events to handle and we've got a fully-functional RadScheduler for Silverlight hooked up to RIA services. First up, the two easy events- AppointmentAdded and AppointmentDeleted. AppointmentAdded Event This event is pretty straightforward and does not require very...
    September 08, 2009
  • Web

    Drop-Down Menu Button with Telerik ContextMenu for Silverlight

    Sometimes, when a button is clicked we want to display a drop-down menu with options. This is handy interface, usually present in toolbars, but sometimes - as standalone buttons, like the Save As button in the the VS2008 Save As dialog. Sometimes the drop-down buttons consist of two parts – action and menu, and are called split buttons. In this post I will demonstrate how to achieve the drop-down menu button part. If you need a split button, just add another button and keep track of what was the last clicked menu item. Note, that with Q3 2009 we will...
    September 07, 2009