Telerik blogs
  • Release

    New Training Session on Silverlight Routed Events

      With the Windows Presentation Foundation a new type of events were introduced - the Routed Events. They have provided the developer with an entirely new approach to the eventing and the event handling. Basically, Routed Events traverse the logical tree upwards or downwards, depending on their Routing Strategy – Bubble and Tunnel respectively.  To get deeper with what the routed events are and how RadControls for Silverlight uses them we prepared this comprehensive training session. Before launching the video session you might check the Hristo Hristov's blog on Routed Events in Silverlight 2 and our dedicated page on support for routed events at: http://www.telerik.com/products/silverlight/resources/routed-events-framework.aspx.    ...
    February 05, 2009
  • Web

    Insert, Update, Delete with OpenAccess and RadGridView for Silverlight

    Download I will show you how easy is to integrate OpenAccess with RadGridView for Silverlight. I get the example from my colleague Dimitur and make it work with our RadGridView. If you are interested how to make OpenAccess to work with ADO.NET Data Services please read his blog series. To allow inserting new rows in RadGridView we should attach to AddingNewDataItem event. <telerik:RadGridView x:Name="gridView" Grid.Row="1" AddingNewDataItem="GridViewAddingNewDataItem" /> And provide the newly created object in it. private void GridViewAddingNewDataItem(object sender, GridViewAddingNewEventArgs e) { e.NewObject = new Supplier(); } Now we can insert new objects. Next steps is to save changes to the database. We should attach to GridViewRow.EditEndedEvent. this.gridView.AddHandler(GridViewRow.EditEndedEvent, new...
    February 04, 2009
  • Desktop WPF

    How to use Custom Row Layouts in RadGridView for WPF

    Presenting data in a grid is common in many applications, but it doesn't have to look like a bunch or columns and rows.  With WPF you have freedom to make the data look totally different.  In this post, I am going to demonstrate using a custom row layout with the RadGridView for WPF.  To get started, I have setup a new window with a RadGridView.  I will be using the Northwind database Employees table for this example.  I would like to point out that if you are going to recreate this example, you will need to add the Window.Resources section...
    February 04, 2009
  • Desktop WinForms

    RadGridView's Serialization Made Easy (WinForms)

    Hello to all! My name is Deyan and I am a new member of the Telerik WinForms Team. In my first blog post I will talk about the RadGridView’s Serialization API and will shortly explain some fundamentals that would help you understand how to utilize it. In case of further interest on this topic, I have prepared a KB article and a demo application to demonstrate different serialization scenarios using the API. The default serialization settings imply that all visible properties are stored in the XML output. In cases when you want to only store some simple layout settings without paying attention to...
    February 03, 2009
  • Desktop WPF

    Easy programmatic UI customization for WPF and Silverlight

    I’m pleased to announce that with Q1 2009 release of RadControls for WPF / Silverlight you will be able to manipulate the controls very easily with two powerful extension methods: ParentOfType<> and ChildrenOfType<>. Here are several small demos for RadGridView: 1) Get all grid rows:      var rows = RadGridView1.ChildrenOfType<GridViewRow>(); 2) Get all grid cells:      var cells= RadGridView1.ChildrenOfType<GridViewCell>(); 3) Get all grid header cells:      var headerCells = RadGridView1.ChildrenOfType<GridViewHeaderCell>(); 4) Get (and show) new row:      var newRow = RadGridView1.ChildrenOfType<GridViewNewRow>().First();     ...
    February 03, 2009
  • Release

    New Training Session on Silverlight Routed Events

      With the Windows Presentation Foundation a new type of events were introduced - the Routed Events. They have provided the developer with an entirely new approach to the eventing and the event handling. Basically, Routed Events traverse the logical tree upwards or downwards, depending on their Routing Strategy – Bubble and Tunnel respectively.  To get deeper with what the routed events are and how RadControls for Silverlight uses them we prepared this comprehensive training session. Before launching the video session you might check the Hristo Hristov's blog on Routed Events in Silverlight 2 and our dedicated page on support for routed events at: http://www.telerik.com/products/silverlight/resources/routed-events-framework.aspx.    ...
    February 05, 2009
  • Web

    Insert, Update, Delete with OpenAccess and RadGridView for Silverlight

    Download I will show you how easy is to integrate OpenAccess with RadGridView for Silverlight. I get the example from my colleague Dimitur and make it work with our RadGridView. If you are interested how to make OpenAccess to work with ADO.NET Data Services please read his blog series. To allow inserting new rows in RadGridView we should attach to AddingNewDataItem event. <telerik:RadGridView x:Name="gridView" Grid.Row="1" AddingNewDataItem="GridViewAddingNewDataItem" /> And provide the newly created object in it. private void GridViewAddingNewDataItem(object sender, GridViewAddingNewEventArgs e) { e.NewObject = new Supplier(); } Now we can insert new objects. Next steps is to save changes to the database. We should attach to GridViewRow.EditEndedEvent. this.gridView.AddHandler(GridViewRow.EditEndedEvent, new...
    February 04, 2009
  • Desktop WPF

    How to use Custom Row Layouts in RadGridView for WPF

    Presenting data in a grid is common in many applications, but it doesn't have to look like a bunch or columns and rows.  With WPF you have freedom to make the data look totally different.  In this post, I am going to demonstrate using a custom row layout with the RadGridView for WPF.  To get started, I have setup a new window with a RadGridView.  I will be using the Northwind database Employees table for this example.  I would like to point out that if you are going to recreate this example, you will need to add the Window.Resources section...
    February 04, 2009
  • Desktop WinForms

    RadGridView's Serialization Made Easy (WinForms)

    Hello to all! My name is Deyan and I am a new member of the Telerik WinForms Team. In my first blog post I will talk about the RadGridView’s Serialization API and will shortly explain some fundamentals that would help you understand how to utilize it. In case of further interest on this topic, I have prepared a KB article and a demo application to demonstrate different serialization scenarios using the API. The default serialization settings imply that all visible properties are stored in the XML output. In cases when you want to only store some simple layout settings without paying attention to...
    February 03, 2009
  • Desktop WPF

    Easy programmatic UI customization for WPF and Silverlight

    I’m pleased to announce that with Q1 2009 release of RadControls for WPF / Silverlight you will be able to manipulate the controls very easily with two powerful extension methods: ParentOfType<> and ChildrenOfType<>. Here are several small demos for RadGridView: 1) Get all grid rows:      var rows = RadGridView1.ChildrenOfType<GridViewRow>(); 2) Get all grid cells:      var cells= RadGridView1.ChildrenOfType<GridViewCell>(); 3) Get all grid header cells:      var headerCells = RadGridView1.ChildrenOfType<GridViewHeaderCell>(); 4) Get (and show) new row:      var newRow = RadGridView1.ChildrenOfType<GridViewNewRow>().First();     ...
    February 03, 2009