Telerik blogs
  • Web

    Auto-complete ComboBox with WCF Service and RadControls for Silverlight

    Sometimes we need to load very large amount of items in a ComboBox and let the user select one of them. Usually in those cases the ComboBox allows typing in order to auto-select the items, that contain the text in the control. Such scenarios are possible with RadComboBox for Silverlight and now I will show you a simple application, that demonstrates what I think is a better practice for the implementation. We want to put all words from the English dictionary of RadSpell for ASP.NET in a RadComboBox for Silverlight and allow the user to select one of them, that will...
    May 27, 2021 4 min read
  • Web

    Easily implement AutoComplete in your application

    It is considered a good interface design practice to make it easy for the user to provide input.  One of the ways to do this is to anticipate what the user is trying to enter and provide them with options or complete the entry for them.  For example, if I type in a popular browser a web address containing the letters "tel" I will see several options made available to me, as shown below. The key is to have the ability to make a reasonable guess at what the user is trying to input.  This is particularly helpful for values that...
    May 27, 2021 2 min read
  • Desktop WPF

    WPF RadChart 3D Labels and Formatting

    Today I decided to break the lengthy silence on my blog by writing about two of the features that will be included in the Q3 SP1 (mid-December), namely labels in 3D and labels formatting. Here are a couple of screenshots:   As the screenshots clearly show, the labels are simple 2D controls instead of 3D objects. As I wrote in an earlier blog post, that guarantees the labels will be readable at all times, and not hidden by other 3D objects (always on top of the Viewport). If you are interested in the implementation details, you can refer to the aforementioned blog...
    May 27, 2021 1 min read
  • Web

    Can your grid control do this? Part II

    .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; /*background-color: #ffffff;*/ /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; } In my previous post I told you about the new interesting feature in RadGridView for WinForms - Row Layout customization. I also promised to provide some additional details about this feature, so here they are. The view definition in RadGridView not only changes the row layout, it specifies the behavior and the appearance of the grid. All view definitions implement the IViewDefinition interface and you could create your own definitions, if you wish. To change the default view definition in RadGridView you need just to set the ViewDefinition property: this.radGridView1.ViewDefinition = myViewDefinition; We have included three different view definitions in our Q3 release. They are: TableViewDefinition,...
    May 27, 2021 3 min read
  • Web

    Conditional Formatting rows in RadGridView

    It can be useful at times to draw the users attention to a certain row or rows in a grid.  You might want to point out an account that is about to expire or show that an entry requires approval.  Normally, you would evaluate the data in the grid yourself to change the BackColor of a row.  The RadGridView offers you the ability to create a condition that will apply certain formatting for you.  I have created a simple class that will allow us to display a few laptop orders.      public class Laptop     {         public string Manufacturer { get; set; }         public double Price {...
    May 27, 2021 2 min read