Telerik blogs

Latest

  • Productivity

    Using Stored Procedures for CRUD

    Telerik OpenAccess ORM generates dynamic SQL to perform CRUD operations. If for some reason you are not comfortable using dynamically generated SQL or your company policies allow data manipulation only via stored procedures, fear not. Telerik OpenAccess ORM supports CRUD operations via stored procedures too – currently only for MS Sql Server, but soon for the other backends also.  Stored procedure usage in Telerik OpenAccess ORM can be classified into 2 categories – Mapping existing stored procedures and instructing Telerik OpenAccess ORM to use them instead of generating dynamic SQL Letting Telerik OpenAccess ORM generate and use the required stored procedures based...
    June 17, 2009
  • Desktop WPF

    WPF / Silverlight: RadChart and BindableLinq

    RadChart data binding provides a simple and consistent way for applications to present and interact with data. In many cases the data that you work with is a collection of objects and you need the UI to update automatically whenever the datasource gets updated. WPF and Silverlight provide a built-in implementation of a data collection that implements the INotifyCollectionChanged interface and achieves the desired effect. However, when you try to blend the ObservableCollection<T> implementation with some LINQ queries, the situation gets a bit more complicated and most probably the out-of-the-box result will not match your expectations. Let us take the...
    June 17, 2009
  • Web ASP.NET AJAX

    Using the RadFileExplorer for ASP.NET AJAX in a MOSS web application

    The RadFileExplorer is a fairly new control in our ASP.NET AJAX suite and we are happy to see that a lot of people are already adopting it into their solutions. In this post I will show how to make the file explorer work with SharePoint libraries. By default, the control interfaces with a virtual folder in your web application and allows you to do all kinds of file/folder operations (create new folders, upload/move/delete items, preview, etc.). Unfortunately, the default behavior of the control is limited to virtual folders that can be mapped to physical locations on the server's drives. MOSS web...
    June 17, 2009
  • Release

    Another FREE training courseware for OpenAccess ORM

    Our valued partners from Falafel just released their next state of the art training courseware for Telerik OpenAccess ORM. The 250+ pages document will introduce you in a step-by-step fashion to all features and techniques of Telerik’s Enterprise ORM, from the very basic to the most advanced. The learning guide includes numerous visual examples, tip & tricks, code samples as well as Visual Studio projects allowing you to practice while you learn. You can download the courseware for FREE from our website. We also recommend you try out our new application which demonstrates the extensive LINQ support of OpenAccess ORM. The...
    June 16, 2009
  • Productivity

    LINQ 101 Examples with Telerik OpenAccess ORM

    We all know that today LINQ is the most popular and easy way for processing data in the .NET community. In fact you can use almost all data sources you might think of: plain objects, XML or relational databases. While we have been offering an extensive LINQ support for months now, and we are continuously improving it, I don’t think it received the credit it deserves. So we decided to foster the awareness of our community towards the great LINQ support we provide with the Telerik OpenAccess ORM tool. Ok, easier said than done. What approach should we take with this one? A...
  • People

    FREE training courseware for RadControls for WinForms

    Falafel Software have once again helped us produce a new thorough, extensive and FREE courseware, this time for RadControls for WinForms. This is the fifth courseware Falafel has written for Telerik, the previous ones being on ASP.NET and ASP.NET Ajax, Telerik Reporting and Sitefinity. This 650 page hands-on training material will be of great help to individuals, teams, and the community as a whole, and will assist everyone in quickly learning the power of RadControls and experiencing their true value. The courseware covers all Telerik Windows Forms controls in a step-by-step fashion. Every chapter comes with lab exercises, tips, tricks and "gotchas" that...
  • Web

    Binding a ComboBox to Enum Values with RadControls for Silverlight

    A common request in our support is to display a combo box, containing all values of a specific Enum. This is fairly easy with RadComboBox for Silverlight - all you need to do is to fill its ItemsSource collection with the Enum values. The best way to do this is to create a view model for the Enum: using System; using System.Collections; using System.Linq; using System.Reflection; namespace SilverlightApplication1 { public class EnumModel { private Type enumType; public IEnumerable Values { get; private set; } [TypeConverter(typeof(TypeTypeConverter))] ...
    June 12, 2009
  • Release

    RadDock for Winforms Q2 2009 Beta has landed!

    UPDATE: A hands-on demo added at the end of this post! No installation necessary.   We are happy to announce the release of the long waited Beta version of our new RadDock control. We have been overwhelmed with work for the last few weeks, but we are more than thrilled by the result. We managed to add an abundance of new features compared to the old DockingManger control, in addition to covering most of the functionality that existed in the previous DockingManager.   For starters, RadDock has much simpler object model and better API. The object structure mirrors the control tree that...
  • Release

    Codeless Data binding in RadScheduler for WinForms Q2 2009

    I am happy to share that RadScheduler for WinForms gets some cool new improvements for Q2 2009. Our Roadmap does not reveal much, but here is a quick preview of what we have been working on.   When we started developing the Telerik WinForms scheduler we knew that we could make the data binding process much simpler than the ongoing implementation. Not that this is hard to do currently, no. We simply had some ideas how to make it better, and even codeless, so that you do not have to spend much time on this task. In the new version you will be...
  • 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    ...