Telerik blogs
  • Web

    PDF Export with RadChart for Silverlight

    Every now and then when discussing the RadChart export options with customers, we receive the inquiry whether it is possible to export the control to PDF as well. The answer is – YES, it is definitely possible! While the chart control itself does not provide this feature out-of-the-box, you can easily build upon its export-to-image functionality and export it to PDF using our Documents Format Providers (also part of the RadControls for Silverlight suite). Basically, all you need to do is construct a document model based on the contents you want to export, and then pass the document to the PdfFormatProvider. Note...
    June 16, 2011
  • Desktop WPF

    Using the Multiple Selection of the RadCalendar control for Silverlight and WPF with MVVM

    Developing and supporting MVVM applications is easy and effective. That's why we want to create MVVM applications that follow this pattern. Sometimes the controls we use have some limitations. For example, list properties, which are read-only and do not allow us to create an appropriate binding to our view-models. It is normal for properties of list type to be read-only, because this is considered a good practice, but it becomes a problem for the MVVM pattern. In the ItemsControl this problem is solved with two properties - Items and ItemsSource. This blog post is about an example that demonstrates how to create...
  • Desktop WPF

    Complex filtering for RadChart

    RadChart allows you to programmatically filter its data using FilterDescriptors as demonstrated in our help topic. However there are scenarios where you would like to have more complex filtering. For a sample scenario where a Chart is drawn according to the filtered RadGridView’s data - read further. The Chart and the GridView will be populated with the same data source – List of Business Objects: public class MyDateObject   {       public double SampleValue { get; set; }       public DateTime Date { get; set; }   }     public class MyDataContext   {       public const int min = 20;       public const int max = 80;       public ObservableCollection<MyDateObject> List { get; set; }       Random r = new Random();       DateTime baseDate = DateTime.Today;         public MyDataContext()       {           this.CreateChartData();       }         private void CreateChartData()       {           List = new ObservableCollection<MyDateObject>();           for (int i = 0; i < 15; i++)           {               List.Add(new MyDateObject() { SampleValue = r.Next(min,...
  • 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...
  • People

    Speaking at NT Conference in Slovenia

    Tomorrow I will be delivering a lecture at the NT Conference in beautiful Slovenia. My talk will be about one of my favorite topics as of late:   Proper usage of data visualization in your dashboard and business applications “Many dashboards and business apps we see every day suffer from poor design causing them to fail their primary purpose: to convey a lot of information in a small amount of space in a manner that is clear and immediate. If you attend this lecture you will learn how to avoid the most common mistakes in data visualization and will gain valuable insight on how to...
  • Web

    PDF Export with RadChart for Silverlight

    Every now and then when discussing the RadChart export options with customers, we receive the inquiry whether it is possible to export the control to PDF as well. The answer is – YES, it is definitely possible! While the chart control itself does not provide this feature out-of-the-box, you can easily build upon its export-to-image functionality and export it to PDF using our Documents Format Providers (also part of the RadControls for Silverlight suite). Basically, all you need to do is construct a document model based on the contents you want to export, and then pass the document to the PdfFormatProvider. Note...
    June 16, 2011
  • Desktop WPF

    Using the Multiple Selection of the RadCalendar control for Silverlight and WPF with MVVM

    Developing and supporting MVVM applications is easy and effective. That's why we want to create MVVM applications that follow this pattern. Sometimes the controls we use have some limitations. For example, list properties, which are read-only and do not allow us to create an appropriate binding to our view-models. It is normal for properties of list type to be read-only, because this is considered a good practice, but it becomes a problem for the MVVM pattern. In the ItemsControl this problem is solved with two properties - Items and ItemsSource. This blog post is about an example that demonstrates how to create...
  • Desktop WPF

    Complex filtering for RadChart

    RadChart allows you to programmatically filter its data using FilterDescriptors as demonstrated in our help topic. However there are scenarios where you would like to have more complex filtering. For a sample scenario where a Chart is drawn according to the filtered RadGridView’s data - read further. The Chart and the GridView will be populated with the same data source – List of Business Objects: public class MyDateObject   {       public double SampleValue { get; set; }       public DateTime Date { get; set; }   }     public class MyDataContext   {       public const int min = 20;       public const int max = 80;       public ObservableCollection<MyDateObject> List { get; set; }       Random r = new Random();       DateTime baseDate = DateTime.Today;         public MyDataContext()       {           this.CreateChartData();       }         private void CreateChartData()       {           List = new ObservableCollection<MyDateObject>();           for (int i = 0; i < 15; i++)           {               List.Add(new MyDateObject() { SampleValue = r.Next(min,...
  • 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...
  • People

    Speaking at NT Conference in Slovenia

    Tomorrow I will be delivering a lecture at the NT Conference in beautiful Slovenia. My talk will be about one of my favorite topics as of late:   Proper usage of data visualization in your dashboard and business applications “Many dashboards and business apps we see every day suffer from poor design causing them to fail their primary purpose: to convey a lot of information in a small amount of space in a manner that is clear and immediate. If you attend this lecture you will learn how to avoid the most common mistakes in data visualization and will gain valuable insight on how to...