Telerik blogs
  • 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    ...
  • Web

    Silverlight/WPF RadChart axis improvements.

    Along with the numerous updates that are coming up with the Q2.2009 version of RadChart for WPF/SL, we are going to introduce significant improvements of the way our horizontal axis handles user data. Actually, a bunch of new features will make the horizontal axis much more intelligent and easy to use. First of all, the horizontal axis will be able to properly handle "X" value data! As soon as a DataPoint with meaningful "X" value is received, the horizontal axis will enter "strict" mode and will place it appropriately.      To make this possible we also implemented the following supporting features: Automatic range calculation...
    June 04, 2009
  • Web ASP.NET AJAX

    Common RadWindow issues and their solution

    The RadWindow control is part of the Telerik’s RadControls for ASP.NET AJAX suite and is intended to replace the standard browser’s popup (window.open()). Since the control is based on an IFRAME, it behaves just like one – basically, whatever can be done with an IFRAME, can be achieved with RadWindow as well. This fact is useful when you investigate a reason for some problem related to the RadWindow control. Just replace the RadWindow with a standard IFRAME or browser’s popup and see how your application will behave in this case. If the problem still exists, then it is not related to the...
    June 04, 2009
  • Web

    Data-binding menu, context menu and toolbar, a.k.a. a simple text editor for Silverlight

    This demo extends my previous sample, that demonstrated how to add a right click context menu on a TextBox. Here I will show how to create context sensitive main menu and toolbar, in addition to the context menu. The demo will also demonstrate some advanced enhancements that we added to the Silverlight 2 Framework, such as merged dictionaries and container bindings. The application enables/disables the Cut and Copy commands when there is no selection and also disables the Paste command when there is no clipboard content. As in the previous blog post, the clipboard methods work only in IE. Here is how...
  • Productivity

    Handling concurrent database operations with Telerik OpenAccess ORM

    What usually is of great importance to developers that use ORM tools, are issues related to concurrent updates or deletes that can potentially cause a valuable loss of data, and how the ORM framework handles the cases. Because of the state-less nature of HTTP the object-scope is re-initialized on every postback. That is an operation on its own, future blog-posts will cover some of the best practices approaches to object scope life-cycle management. The problem with stateless scenarios is that all change-tracking that the object-scope does for us in a desktop scenario is lost on every postback so there is a...
    June 01, 2009
  • 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    ...
  • Web

    Silverlight/WPF RadChart axis improvements.

    Along with the numerous updates that are coming up with the Q2.2009 version of RadChart for WPF/SL, we are going to introduce significant improvements of the way our horizontal axis handles user data. Actually, a bunch of new features will make the horizontal axis much more intelligent and easy to use. First of all, the horizontal axis will be able to properly handle "X" value data! As soon as a DataPoint with meaningful "X" value is received, the horizontal axis will enter "strict" mode and will place it appropriately.      To make this possible we also implemented the following supporting features: Automatic range calculation...
    June 04, 2009
  • Web ASP.NET AJAX

    Common RadWindow issues and their solution

    The RadWindow control is part of the Telerik’s RadControls for ASP.NET AJAX suite and is intended to replace the standard browser’s popup (window.open()). Since the control is based on an IFRAME, it behaves just like one – basically, whatever can be done with an IFRAME, can be achieved with RadWindow as well. This fact is useful when you investigate a reason for some problem related to the RadWindow control. Just replace the RadWindow with a standard IFRAME or browser’s popup and see how your application will behave in this case. If the problem still exists, then it is not related to the...
    June 04, 2009
  • Web

    Data-binding menu, context menu and toolbar, a.k.a. a simple text editor for Silverlight

    This demo extends my previous sample, that demonstrated how to add a right click context menu on a TextBox. Here I will show how to create context sensitive main menu and toolbar, in addition to the context menu. The demo will also demonstrate some advanced enhancements that we added to the Silverlight 2 Framework, such as merged dictionaries and container bindings. The application enables/disables the Cut and Copy commands when there is no selection and also disables the Paste command when there is no clipboard content. As in the previous blog post, the clipboard methods work only in IE. Here is how...
  • Productivity

    Handling concurrent database operations with Telerik OpenAccess ORM

    What usually is of great importance to developers that use ORM tools, are issues related to concurrent updates or deletes that can potentially cause a valuable loss of data, and how the ORM framework handles the cases. Because of the state-less nature of HTTP the object-scope is re-initialized on every postback. That is an operation on its own, future blog-posts will cover some of the best practices approaches to object scope life-cycle management. The problem with stateless scenarios is that all change-tracking that the object-scope does for us in a desktop scenario is lost on every postback so there is a...
    June 01, 2009