• RadDataForm and RadGridView integration - popup editing.

    Thursday, March 24, 2011 by Pavel Pavlov | Comments 1

     

    Often collection data is better presented in a tabular view and better edited in a form view. Such UX approach is referred by our clients as “Popup editing in RadGridView”.

    With the help of the new RadDataForm and the good old RadGridView a few lines of code are needed to accomplish this.

    popupEditingInRadGridView

    To have this working we need to :

    1. Bind RadGridView to a collection IEditable and INotifyPropertyChange objects.

    this.RadGridView1.ItemsSource =  Person.GetSampleListOfPersons();

    2. Bind a RadDataForm  to the current item of RadGridView

     

      <telerik:RadDataForm  CurrentItem="{Binding  CurrentItem,ElementName=RadGridView1}" …
     ...
  • New control for WPF and Silverlight from Telerik - RadDataForm

    Thursday, March 17, 2011 by Pavel Pavlov | Comments 2

    In the context of our 30th release I am happy to share even more good news with you. With the official Q1 2011 release we have enriched the developer toolbox with the new RadDataForm.In the tradition of our existing data-aware controls such as RadGridVIew, RadDataForm deals with data in easy and intuitive  way. It provides complete CRUD support over an object or a collection of objects taking care of adding, editing, deleting and navigation trough collections. We had the RadGridView to take care of tabular views and now we have RadDataForm to take care of scenarios where form layout ...

  • Frozen / Pinned rows in RadGridView for Silverlight

    Monday, July 05, 2010 by Pavel Pavlov | Comments 0

    A common UX pattern when working with large tabular data is the so called frozen rows or pinned rows. This is very popular in the spreadsheet world and in some text editors as well.

     

     frozen_spreadsheet

    I have tried to resemble this behavior with RadGridView for Silverlight. The user may pin a row thus preventing it from vertical scrolling. This way important items may be kept inside the viewport regardless the position of the vertical scrollbar. Pinned items remain on top for easy access.

    frozen rows

     

    Adding this behavior to RadGridView is simple and painless:

      <telerik:RadGridView  x...
  • Displaying live streaming data with RadGridView for Silverlight and WPF

    Thursday, May 20, 2010 by Pavel Pavlov | Comments 2

    Animated cells on value changes

     

    When dealing with streaming data which is updated over time the end user should be able to quickly track changes at a glance. A typical application that would benefit from this would be a financial dashboard, live data monitoring and tracking systems etc. For the purpose of illustration I have prepared a small simulation of streaming financial data (stock prices) .

      Get Microsoft Silverlight  

    In my previous blogpost I have already demonstrated how we can alter/extend the behavior of cells in RadGridView by placing a user control inside. This blog post demonstrates a more real-life ...
  • Some fun with RadGridView for Silverlight …literally !

    Thursday, April 01, 2010 by Pavel Pavlov | Comments 16

    April Fools' Day is a great excuse for me to do something funny with RadGridView. So today’s post will have less geekness and more fun than usually.

     

    Silverlight being a great platform and RadGridView being enormously flexible control provoked me to do something that you can not exactly call the typical Line-Off-Business application.

     

    So enjoy this small  Pexeso game clone created with the help of RadGridView for Silverlight and some standard Silverlight re-styling techniques.

    The rules are simple : Try to open two identical cards at the same time. The goal of the game – try to ...

  • Restyling RadDataPager for WPF and Silverlight

    Tuesday, March 16, 2010 by Pavel Pavlov | Comments 1

     

    A small but powerful control has joined the great family of Telerik XAML controls with the recent release.
    RadDataPager is a result of an increasing demand from our customers who needed to work with large amounts of server data presented in small portions at the client side. 
    The primary goal was to make a powerful data paging control to be used in any scenarios requiring getting and presenting portions of data.
    How good is RadDataPager in working with paged data you can see in Rossen's announcement.

    Yet being a XAML control it challenged us with making one more visually ...

  • Empty data template in RadGridView for Silverlight (and WPF)

    Monday, February 01, 2010 by Pavel Pavlov | Comments 19

     

    One more RadGridView behavior frequently requested by our clients is to display a message when there are no records to display. A typical real life scenario would be a RadGridView displaying a list of search results. When there are no results found we would like to have a message like “No results found!” displayed in RadGridView.

     

    noresults

     

     

    If you download the project above , you will see that if you get the EmptyDataTemplateBehavior.cs into your project, setting the empty data template will be as easy as writing a few lines of XAML : ...

  • Calculated column in RadGridView for Silverlight + math expressions

    Thursday, January 28, 2010 by Pavel Pavlov | Comments 6

    When the data layer does not allow to perform calculations we often need to harness the UI.

    Here is a a simple case  - in our business object we have the Price and the Count properties. We will have RadGridView to calculate the Total  for us in a calculated column.

     

    calculated_column

     

    If you peek into the sample project you will notice we are using a pretty standard Silverlight approach :

    We bind the value of the calculated column with a Binding Converter :

    <telerik:GridViewDataColumn  
      Header="Total"  
      Background="Bisque"...
  • Cascading ComboBoxes Selection in RadGridView for Silverlight and WPF

    Wednesday, January 27, 2010 by Pavel Pavlov | Comments 14

     

    A common scenario when entering data is a cascade of comboboxes, where the list in the next combo is populated after selecting a value in the previous.

    A typical example is selecting a country from a combo then selecting from a filtered list of cities in a second combo.

    We have had tons of questions on how this can be done within a row in RadGridVIew so I decided to make a small demo. I have used a nice List of countries by continent.

     

     

     

    cascadingComboboxes

     

     

    There are lots of ways to achieve this with ...

  • Math toolbar for column headers in RadGridView for Silverlight

    Friday, January 22, 2010 by Pavel Pavlov | Comments 0

    math_toolbar

     

    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). ...

  1. 1
  2. 2
  3. »