Telerik blogs
  • Productivity

    Telerik Data Services Wizard New Feature:DataServiceKey

    Last week Telerik released the Data Service Wizard Beta 1. It will automatically create for you the end points for an Astoria, WCF, or RESTful service. New in the beta of the Data Service Wizard is the ability of the wizard to automatically generate the DataServiceKey attribute required to make relationships in Astoria work. When you use "Astoria" (ADO.NET||WCF) Data Services, by default Astoria tries to map the primary keys in your entities using a convention. This is important for your service to work. The mapping works out of the box for the Entity Framework, however, if you are using LINQ to SQL or Telerik Open Access, it does not since some...
    January 23, 2010
  • Web

    Math toolbar for column headers in RadGridView for Silverlight

      A client has recently asked for these little fancy math toolbars in the column header. I found it a great idea and thought it might be useful to share the way of implementing this with RadGridView for Silverlight.   *Since RadGridView for WPF shares the same code base  the approach bellow may be used for both platforms ( Silverlight and WPF ) .   Things are easy with RadGridView !   To have this in your project follow these three easy steps :   1. Copy the MathToolBar user control from the attached sample project (MathToolBar.xaml, MathToolBar.cs). MathToolbarDemo.zip 2. Replace the default header in the column with the user control. <telerik:GridViewDataColumn ... <telerik:GridViewDataColumn.Header> <local:MathToolBar HeaderText="Value1"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn>   3. Adjust...
    January 22, 2010
  • Release

    Q1 2010 Telerik RadControls for WinForms Roadmap

    The Q1 2010 release is approaching fast, and we are working overtime to deliver major new features into RadControls for WinForms. A brand new Visual Style Builder is on its way, as well as an updated and optimized GridView data layer, several new grid LOB features, and a new Timeline view for RadScheduler. The RadControls for WinForms Q1 2010 Roadmap is already live on telerik.com and you can view it here: RadControls for WinForms Roadmap Here is a brief overview of the most important improvements: Visual Style Builder (VSB) for WinForms The new version will dramatically reduce the time needed for creating themes for RadControls for...
    January 22, 2010
  • Web

    How To: Customize RadGridView's Default Filtering Control with Attached Behaviors (Silverlight &amp; WPF)

    If you are familiar with the RadGridView‘s Custom Filtering Functionality you probably know that you can create any kind of user control to replace the default one which looks like this: Very often, however, you may be perfectly happy with the stock filtering control, but you wish you could modify and adapt it just a little bit to match your particular requirements. What should you do then? Maybe build an entirely new filtering control from scratch that looks just like RadGridView’s default one and adds this tiny bit of functionality? No, that would be insane. There is an easier way to do this....
    January 22, 2010
  • Web

    How To: Serialize your DataTable to Silverlight using WCF service

    Did you know that you can serialize any DataTable to Silverlight easily from your custom WCF service in very few lines of code? [OperationContract] public IEnumerable<Dictionary<string, object>> GetData() { var table = YourDataTable; var columns = table.Columns.Cast<DataColumn>(); return table.AsEnumerable().Select(r => columns.Select(c => new { Column = c.ColumnName, Value = r[c] }) ...
    January 22, 2010
  • Productivity

    Telerik Data Services Wizard New Feature:DataServiceKey

    Last week Telerik released the Data Service Wizard Beta 1. It will automatically create for you the end points for an Astoria, WCF, or RESTful service. New in the beta of the Data Service Wizard is the ability of the wizard to automatically generate the DataServiceKey attribute required to make relationships in Astoria work. When you use "Astoria" (ADO.NET||WCF) Data Services, by default Astoria tries to map the primary keys in your entities using a convention. This is important for your service to work. The mapping works out of the box for the Entity Framework, however, if you are using LINQ to SQL or Telerik Open Access, it does not since some...
    January 23, 2010
  • Web

    Math toolbar for column headers in RadGridView for Silverlight

      A client has recently asked for these little fancy math toolbars in the column header. I found it a great idea and thought it might be useful to share the way of implementing this with RadGridView for Silverlight.   *Since RadGridView for WPF shares the same code base  the approach bellow may be used for both platforms ( Silverlight and WPF ) .   Things are easy with RadGridView !   To have this in your project follow these three easy steps :   1. Copy the MathToolBar user control from the attached sample project (MathToolBar.xaml, MathToolBar.cs). MathToolbarDemo.zip 2. Replace the default header in the column with the user control. <telerik:GridViewDataColumn ... <telerik:GridViewDataColumn.Header> <local:MathToolBar HeaderText="Value1"/> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn>   3. Adjust...
    January 22, 2010
  • Release

    Q1 2010 Telerik RadControls for WinForms Roadmap

    The Q1 2010 release is approaching fast, and we are working overtime to deliver major new features into RadControls for WinForms. A brand new Visual Style Builder is on its way, as well as an updated and optimized GridView data layer, several new grid LOB features, and a new Timeline view for RadScheduler. The RadControls for WinForms Q1 2010 Roadmap is already live on telerik.com and you can view it here: RadControls for WinForms Roadmap Here is a brief overview of the most important improvements: Visual Style Builder (VSB) for WinForms The new version will dramatically reduce the time needed for creating themes for RadControls for...
    January 22, 2010
  • Web

    How To: Customize RadGridView's Default Filtering Control with Attached Behaviors (Silverlight &amp; WPF)

    If you are familiar with the RadGridView‘s Custom Filtering Functionality you probably know that you can create any kind of user control to replace the default one which looks like this: Very often, however, you may be perfectly happy with the stock filtering control, but you wish you could modify and adapt it just a little bit to match your particular requirements. What should you do then? Maybe build an entirely new filtering control from scratch that looks just like RadGridView’s default one and adds this tiny bit of functionality? No, that would be insane. There is an easier way to do this....
    January 22, 2010
  • Web

    How To: Serialize your DataTable to Silverlight using WCF service

    Did you know that you can serialize any DataTable to Silverlight easily from your custom WCF service in very few lines of code? [OperationContract] public IEnumerable<Dictionary<string, object>> GetData() { var table = YourDataTable; var columns = table.Columns.Cast<DataColumn>(); return table.AsEnumerable().Select(r => columns.Select(c => new { Column = c.ColumnName, Value = r[c] }) ...
    January 22, 2010