Telerik blogs
  • Web

    Custom template columns with RadGridView for Silverlight

    Using GridViewCell template you can create your own template columns in less than a minute: <telerik:RadGridView Name="RadGridView1" IsFilteringAllowed="False" IsReadOnly="True" ShowGroupPanel="False" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerikGridView:GridViewDataColumn HeaderText="ID" UniqueName="ID" /> <telerikGridView:GridViewDataColumn Width="400" HeaderText="Name" UniqueName="Name"> <telerikGridView:GridViewDataColumn.CellStyle> <Style TargetType="telerikGridView:GridViewCell"> <Setter Property="Template"> ...
    January 26, 2009
  • Web

    Export to Word, Excel and Csv with RadGridView for Silverlight

    I’m happy to announce that with Q1 2009 version of RadControls for WPF and Silverlight you will be able to get the grid data in different formats using three extension methods: ToHtml(), ToText() and ToCsv(). I’ve made small demo to demonstrate how to use all these in a Silverlight web application for Word, Excel and Csv export: [Download]...
    January 22, 2009
  • Web

    Server-side paging, sorting and filtering for your Silverlight DataGrid

    I’ve made small demo how to perform server paging, sorting and filtering with RadGridView for Silverlight using ADO.NET DataServices and dynamic LINQ: All operations are applied directly to the data-base server: And you have minimal traffic between server and client: With this approach you can handle millions of records! Enjoy! [Download]...
    January 21, 2009
  • Desktop WPF

    Detail row for your WPF DataGrid with ADO.NET DataService binding

    Using GridViewRow template and simple trigger you can define, style and show details for every data row in your RadGridView very easily:      <Style TargetType="{x:Type telerik:GridViewRow}">         <Setter Property="Template">             <Setter.Value>                 <ControlTemplate TargetType="{x:Type telerik:GridViewRow}">                      <!--Your template goes here -->                 <ControlTemplate.Triggers>                     <MultiTrigger>                        <MultiTrigger.Conditions>                           <Condition Property="IsSelected" Value="True" />                           <Condition Property="IsCurrent" Value="True" />                        </MultiTrigger.Conditions>                        <SetterProperty="Visibility" TargetName="GroupBox" Value="Visible" /> ...
    January 19, 2009
  • Desktop WPF

    Master/Detail with RadGridView for WPF using ObjectDataProvider and ADO.NET Entities

    In my previous post, I showed how to instantiate LINQ to SQL DataContext using ObjectDataProvider in WPF. With ADO.NET Entities you can do something similar: <Grid.Resources> <ObjectDataProvider x:Key="customers" ObjectType="{x:Type local:NorthwindEntities}" MethodName="get_Customers"> </ObjectDataProvider> <ObjectDataProvider x:Key="orders" ObjectType="{x:Type local:NorthwindEntities}"...
    January 16, 2009