Telerik blogs

Latest

  • Web

    Designing N-Tier Applications with OpenAccess ORM

    A very important question recently crossed my inbox, and it essentially asked: “Can you design and build Enterprise-grade n-tier applications with OpenAccess? Or does it force you violate principles of good multi-tier application design to make the ORM features work?” It was a great question and I was surprised to find that there is not more info in the online docs to address this. So, to help everyone benefit from this question’s answer, here are some details about building n-tier applications with OpenAccess. WHAT DOES GOOD N-TIER ARCHITECTURE LOOK LIKE WITH OPENACCESS? Let me preface this discussion by saying there is no “absolute” right...
    April 28, 2009 3 min read
  • Productivity

    Replay: OpenAccess ORM Advanced Topics Webinar

    Yesterday I delivered a webinar which covered some advanced OpenAccess ORM topics. If you missed it, the webinar was recorded and is now available on Telerik TV for your viewing pleasure. For this webinar, I discussed the mechanisms available in OpenAccess to allow developers to implement object-oriented principles such as inheritance and polymorphism. I also demonstrated how to use transactions to manage operations on your persistent data and how to optimize database queries using FetchPlans and FetchGroups. Click here to watch “OpenAccess ORM Advanced Topics” on Telerik TV! If you need a more introductory guide before diving into these topics, don’t forget to check out...
    April 27, 2009 1 min read
  • Desktop WinForms

    RadSchedulerNavigator for RadScheduler

    The Q1 2009 release of the RadControls for WinForms suite introduced pretty neat features in the RadScheduler control which were thoroughly described in this blog-post that came out a couple of days after we uploaded the new version. However, while designing the examples for the RadScheduler control (which you can find in our Demos Application) an idea for a brand new control came out - the RadSchedulerNavigator :     Designed as a separate component, the RadSchedulerNavigator can be easily bound to a RadScheduler instance both in the Visual Studio Designer and in runtime. The control serves as a convenient UI for navigating between...
    April 27, 2009 1 min read
  • Web

    Attaching a ContextMenu on a TreeView with RadControls for Silverlight

    Telerik RadControls for Silverlight provide a very powerful ContextMenu control, that supports right click, modifier keys and that can be easily attached to any visual element. In this article I will show how to attach RadContextMenu to a data-bound RadTreeView and perform actions on the clicked treeview items, depending on the selection in the context menu. For simplicity, here I will use a treeview, bound to a static collection, but it can be easily extended to load its items from a web service: <UserControl x:Class="ContextMenuInTreeView.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:ContextMenuInTreeView" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"> <UserControl.Resources> <local:DataViewModel x:Key="ViewModel" /> <telerik:HierarchicalDataTemplate x:Key="TreeViewItemTemplate" ItemsSource="{Binding Children}"> <TextBlock Text="{Binding Text}"> <telerikNavigation:RadContextMenu.ContextMenu> <telerikNavigation:RadContextMenu> <telerikNavigation:RadMenuItem Header="New Child" /> <telerikNavigation:RadMenuItem Header="New Sibling" /> <telerikNavigation:RadMenuItem Header="Delete" /> </telerikNavigation:RadContextMenu> </telerikNavigation:RadContextMenu.ContextMenu> </TextBlock> </telerik:HierarchicalDataTemplate> </UserControl.Resources> <StackPanel Background="White" DataContext="{StaticResource...
    April 27, 2009 6 min read
  • People

    Scheduling multiple builds with a single click (using MSBuild and Team Build 2008)

    CustomBuildTask.zip If you are working on a large project it is very probable that the project is composed of several parts/modules which are build separately. What are your options if you want to be able to rebuild the whole thing easily? If you are a Quake tournament winner equipped with Razer Copperhead mouse you could probably schedule 10 builds (in the right order) in a matter of seconds but what about your colleagues that are not so gifted? Well, there is the TfsBuild command line tool but in case you are using the 2008 version and you would like to have the...
    April 27, 2009 5 min read
  • Productivity Reporting

    Connecting the Dots: ADO.NET Data Services and Telerik Reporting

    ADO.NET Data Services (formerly Astoria) is one of the new technologies released as part of v3.5 SP1 of the .NET Framework. If you haven’t tried this new addition to the framework, I highly suggest you give it a spin. It’s very cool and allows you to quickly and easily set up RESTful WCF services with which your application can interact with the database. If you’re interested in learning more, MSDN has several great resources to help you get started. One of the cool things about Telerik is that the developers are always mindful of building products that can be easily integrated with existing and future...
    April 24, 2009 9 min read
  • People

    Telerik sponsors the first ever world open, Silverlight game development contest

    Mashooo.com announced the first ever, world open, Silverlight game development contest. It is an open "no holds barred" style competition, meaning that people from around the world are free to participate and there are no theme limitations. You can just bring your talent and zest for Silverlight game development and show the world what you can do. The contest will begin on March 18, 2009 and last for around 3 months. As a contributor to this contest Telerik provides several prizes including various licensed packages - Telerik Premium Collection, RadControls for Silverlight and WPF, and RadControls for Silverlight. For more details you can refer...
    April 24, 2009 1 min read
  • Release

    Two New RadTips Episodes: RadGrid, Entity Framework, and More!

    I’m happy to announce two new 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 on Telerik TV. Each is only a few minutes long and covers a specific feature of the RadControls. Adding a HeaderContextMenu to the RadGrid for ASP.NET AJAX In this episode I show ASP.NET AJAX developers how to use the HeaderContextMenu to perform column-specific operations in the RadGrid. Click here to watch on Telerik TV The video is available for download below. [Video: MP4] Using the Entity Framework with the RadControls for ASP.NET AJAX In this...
    April 24, 2009 1 min read
  • People

    Make plans to attend CodeStock

    This June, I will be at the CodeStock conference in Knoxville, TN.  If you live in the area, then CodeStock offers you a great opportunity to learn about a variety of technologies.  I am honored to have been invited to sit on a panel discussion about running community conferences and user groups.  The conference will take place June 26-27 and only costs $25 if you get your tickets before June 1.  CodeStock is doing something very unique this year in allowing anyone who registers before May 15 to vote on the sessions they most want to see.  So you can actually...
    April 23, 2009 1 min read
  • Web

    Lightweight DataTable for your Silverlight applications

      UPDATE: Please visit this post for more info about dynamic objects binding!   Since there is no DataTable in Silverlight I’ve created small class that can be used to generate columns and rows in runtime in similar to the real DataTable way: DataTable table = new DataTable();table.Columns.Add(new DataColumn() { ColumnName = "ID", DataType = typeof(int) });table.Columns.Add(new DataColumn() { ColumnName = "Name", DataType = typeof(string) });table.Columns.Add(new DataColumn() { ColumnName = "UnitPrice", DataType = typeof(decimal) });table.Columns.Add(new DataColumn() { ColumnName = "Date", DataType = typeof(DateTime) });table.Columns.Add(new DataColumn() { ColumnName = "Discontinued", DataType = typeof(bool) });for(var i = 0; i < 1000; i++){ DataRow row = new DataRow(); row["ID"]...
    April 23, 2009 1 min read