• .NET

    Temporary Post Used For Theme Detection (de3e2b0e-836b-46a3-b416-7959ffc7175d - 3bfe001a-32de-4114-a6b4-4005b770f6d7)

    This is a temporary post that was not deleted. Please delete this manually. (1cae9cf1-1bd1-4abc-b0e8-4d8590a7cb09 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)...
    June 22, 2011
  • .NET

    Temporary Post Used For Theme Detection (f45ac728-f886-45cc-807a-265c9a95662c - 3bfe001a-32de-4114-a6b4-4005b770f6d7)

    This is a temporary post that was not deleted. Please delete this manually. (3b588c01-feca-4ac7-bdfb-e7b310b483a3 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)...
    June 22, 2011
  • .NET

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

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

    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,...