Telerik blogs

Latest

  • Desktop WPF

    Using RadTreeView for WPF

    The video below is from a webinar that I presented on the RadTreeView for WPF.  The webinar covered some of the basic functionality of the RadTreeView and should give you a good understanding of how to get started with the RadTreeView.  While this webinar is focused on the WPF version of the RadTreeView control, the content is also relevant to the Silverlight version as...
    May 27, 2021 1 min read
  • Release

    Telerik Reporting Q1 2009 SP1 is now live

    Once again our constant urge to provide you with the Telerik quality you're used to, resulted in Q1's first service pack of Telerik Reporting. It's needless to say that it contains important bug fixes and improvements of the product and to our new "players" - the Table and HtmlTextBox items. Here is a brief overview: Added support for multi-page view in the Win Report Viewer - although it is not common to include new functionality for a service pack, we decided to push this through instead of making you wait for the Q2 release. This has been long awaited feature for many of you, so do give it a spin. Next thing...
    November 05, 2024 2 min read
  • Desktop WinForms

    Saving/Loading RadGridView settings at design time (WinForms controls)

    I would like to share with you a new feature that we plan to release in Q2 2009:       Well, it is not just the dialog :) In Q2 2009 you will be able to save and load RadGridView’s settings at design time, and there will be a fine-grained control over which settings you want to include/exclude from the generated xml file! Thus if you are using multiple grids, you will be able to use the same settings over and over again. Pretty neat and time saving, isn’t it? The new functionality will be available in the lower left corner of...
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    Integrating RadEditor for ASP.NET AJAX with the WIRIS family of products

    We have received several requests to integrate a formula editor for RadEditor or allow editing of MathML. The wonderful guys at WIRIS(http://www.wiris.com/) have the right tools for this job so we decided to post an example of the WIRIS formula editor and CAS working as RadEditor dialogs.   A couple of words about the formula editor - it uses a Java applet so be sure to have the Java plugin installed in your browser. We used the basic ASPX demo that WIRIS offers as a base for our integration example. The demo can be seen here - http://www.wiris.eu/demo-aspx/pluginwiris/generic/. There are two editors...
    May 27, 2021 1 min read
  • Web

    Using IValueConverter to format values in RadControls for Silverlight

    It’s often necessary to modify or format some of the raw data received by your data tier application or other data sources. In Silverlight, you can create your own value converter and introduce your own formatting rules. In this blog post I will create a simple value converter that formats double values, and then use it with a RadComboBox. First, let’s create a class that will represent our data source. The equivalent of this class in more realistic scenario would be a proxy class generated by your data tier application in case you use RIA services.     public class Data : List<Item>       {           public Data()           {               this.Add(new Item() { Name = "Ferrari", Price = 120000 });               this.Add(new Item() { Name = "Mercedes", Price = 100000 });...
    May 27, 2021 3 min read
  • 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 5 min read