Telerik blogs
  • Productivity

    OpenAccess, WCF, and a RadGrid (Oh My!)

    I’ve been working on a project that uses OpenAccess ORM as the persistence layer between my app and the database. Since the app is going to be used on both web and client platforms I wanted to add a services layer to serve up the data. Turns out it’s pretty easy to do. So I’ll walk you through a quick demo of how to hook OpenAccess up to WCF services and then consume the data with a RadGrid. Set up the project structure First, create a class library project called Data to hold the data access code. This is where you’ll use OpenAccess to...
    May 27, 2021 14 min read
  • Web ASP.NET AJAX

    RadTips, Episode 14: Using Declarative Client-Side Databinding in the RadGrid for ASP.NET AJAX, Part 2

    I’m happy to announce another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Spell-Checking with the RadSpell for ASP.NET AJAX Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX Sharing Toolbars with the RadEditor for ASP.NET AJAX Using Declarative Client-Side Databinding in the RadGrid for ASP.NET AJAX, Part 1 If you’re interested...
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    RadTips, Episode 13: Using Declarative Client-Side Databinding in the RadGrid for ASP.NET AJAX, Part 1

    I’m happy to announce another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Customizing Templates in the RadScheduler for ASP.NET AJAX  Spell-Checking with the RadSpell for ASP.NET AJAX Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX Sharing Toolbars with the RadEditor for ASP.NET AJAX If you’re interested in these and...
    May 27, 2021 1 min read
  • 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...
    May 27, 2021 1 min read
  • 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...
    May 27, 2021 3 min read