• .NET

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

    October 07, 2009 Share
    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...
  • .NET

    Making a Step chart in RadChart for Silverlight and WPF

    October 02, 2009 Share
    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...
  • .NET

    API changes introduced by the new CoverFlow control

    September 14, 2009 Share
    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...
  • .NET

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

    September 08, 2009 Share
    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...
  • .NET

    Drop-Down Menu Button with Telerik ContextMenu for Silverlight

    September 07, 2009 Share
    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...