Telerik blogs

Latest

  • Desktop WPF

    RadChart for WPF/SL Automatic Data Binding to Nested Collections

    Seamless operation with diverse data sources is paramount for any data visualization solution. RadChart already supports automatic data binding to IEnumerable sources as seen in this example: http://demos.telerik.com/silverlight/#Chart/DataBinding. With the growing of Silverlight data sources and support for various data services, however, a new scenario is becoming more common: data binding to a collection of collections or nested collections. I am glad to announce that a new feature is coming in the Q2 2009 release which will make this automatic. Consider the following code snippet: private void FillWithData() {     var list1 = new List<double>() { 1, 3, 5, 7, 9 }; //Odd Numbers     var list2 = new List<double>() { 2, 4, 6, 8, 10 }; //Even Numbers    ...
  • Desktop WPF

    Enhancing the Localization Support of RadControls for Silverlight and WPF

    With the Q1 2009 SP2 release of RadControls for Silverlight we introduced an enhancement of the LocalizationManager class. Two new properties were added to enrich the localization support in the suite - DefaultCulture and DefaultResourceManager. With the new properties you no longer have to always create an instance of the LocalizationManager. Here is a brief description of the two properties: DefaultCulture A static property of type System.Globalization.CultureInfo. Use this one to change localized values without changing the UI culture of the current thread. DefaultResourceManager A static property of type System.Resources.ResourceManager. Use this one to change localized values using a new resource manager, i.e. a new resource file. Example: The attached...
  • Desktop WPF

    How to apply different templates to different appointments of Telerik Scheduler for WPF/Silverlight.

    In the upcoming Q2 release RadScheduler  will include a new property called AppointmentTemplateSelector. This property will be included in both  Silverlight and WPF versions of the control. Using it,  you will be able to easily apply different DataTemplate  to the appointments by any custom condition. All you need to do is to create a custom class inheriting from the  DataTemplateSelector class and override the SelectTemplate method.   For...
  • Desktop WPF

    Telerik Sales Dashboard Demo for Silverlight and WPF

      Telerik Sales Dashboard demo application shows you how to benefit from:  Code reuse between the Silverlight and WPF UI Implementing the Composite Application Guidance for WPF and Silverlight ("Prism") Using OpenAccess ORM for building an optimized data layer with little or no coding  The Telerik Sales Dashboard is a demo application for monitoring a company’s sales representatives’ performance. The dashboard provides senior management with rich data visualizations for analyzing enterprise data, thus facilitating the decision-making process in a typical business environment. The demo demonstrates a best practice approach for structuring a large-scale enterprise application that has a single business-logic layer shared by two different presentation...
  • Desktop WinForms

    Smarter ComboBoxes inside a Telerik WinForms RadGridView (repost)

    Our friends from Falafel Software have posted some interesting tips in their blog on extending RadComboBox while used in RadGridView for WinForms.   Feel free to check it out here: Smarter ComboBoxes inside a Telerik WinForms RadGridView   Thanks, Rachel!...