Telerik blogs
  • Web ASP.NET AJAX

    Scroll And Slider ToolTip Extenders for RadGrid for ASP.NET AJAX

    ASP.NET Extender Controls are cool. They allow you to add rich client capabilities to other server controls. The ASP.NET AJAX Control Toolkit is a wonderful example of unleashing the power of extenders to give regular ASP.NET server controls rich client capabilities. We tried this approach to further enrich RadGrid's otherwise quite solid set of client functionalities. The result is even richer. The sample project attached contains 2 custom extender controls that can be used with RadGrid. The two are similar in purpose, but different in usage. GridSliderToolTipExtender The GridSliderToolTipExtender is used with RadGrid's Slider pager. It provides you with a handy tooltip that is dynamically loaded over the RadSlider when you slide...
    May 27, 2021 3 min read
  • Web

    Enable RadGridView’s rows reorder functionality using Behaviors

    Using RadControls can boost the development process, using bunch of built-in features. However, sometimes we encountered scenarios where we need something very specific. In addition, we do want to make our custom logic encapsulated and easy reusable.  So,when this is the case,using behaviors is our best choice. In this blog I will show small example how to use the behavior power to enable row reorder functionality.     In order to enable drag and drop functionality, it simply uses our RadDragAndDropManager, giving us simple solution for the drag/drop functionality. So in order to use it and customize it we can even go the...
    May 27, 2021 1 min read
  • Desktop WinForms

    Styling Cells in RadGridView for WinForms

    In RadGridView you have to handle the CellFormatting event when you want to customize the look and feel of grid cells. This is so because RadGridView uses UI virtualization. It creates elements only for cells that are currently visible - when scrolling they are reused. Of course, it will be much easier if we could access the cell directly and set its visual properties without an event. In our next release (Q2 2010) this will be possible. By using the Style property you can set the desired background color or change the font size. Here is a sample: this.radGridView1.Rows[5].Cells["Name"].Style.BackColor = Color.Red; this.radGridView1.Rows[5].Cells["Name"].Style.Font = new Font(SystemFonts.DialogFont, FontStyle.Italic);   All...
    May 27, 2021 1 min read
  • Desktop WinForms

    Flexible data conversion with RadGridView for WinForms vNEXT

    One of the new features that will come with the next version of RadGridView is the new data conversion layer. In our daily work we have often got into troubles in visualizing and formatting concrete types as other types. Sometimes the data source is not compatible with the bind target. Hence, you need to create a facade that converts the data to desired type. Let’s say that you bind the grid to a source that is incompatible with the columns that you want to show, for example a GridViewCheckBoxColumn for char field instead of GridViewTextBoxColumn. How can you accomplish that? The new version of RadGridView will...
    May 27, 2021 4 min read
  • Web ASP.NET AJAX

    RadGrid for ASP.NET Ajax and LINQ

    One of the most-asked questions when it comes to the ASP.NET Ajax RadGrid is "How do I improve performance?". We have covered this in some Webinars and videos that can be found on Telerik TV in a series which has been released in three parts: Part One, Part Two and Part Three. One thing I wanted to bring up with respect to performance is the usage of LINQ (Language Integrated Query) and our RadGrid. Although LINQ has been out since the initial release of .NET 3.5 I still receive quite a few questions when it comes to using it with our...
    May 27, 2021 9 min read