• .NET 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"> ...

  • .NET 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]...

  • .NET 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]...

  • .NET Web

    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" /> ...

  • .NET Web

    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}"...