Telerik blogs

Latest

  • 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...
    December 02, 2008
  • Web ASP.NET AJAX

    Tip of the day - Modal Dialogs

    When we have a running application and we want to show a modal dialog window what we generally do is more or less the following: var window = new MyDialogWindow(); window.ShowDialog();   Doing that works great - the dialog window shows and is modal. It has just one tiny defect - if you switch from the running application to another one (i. e. using Alt + Tab) and then come back to the running app the modal dialog window is not showing and the app is inactive. The solution - just assign the parent window to the Owner property of your modal dialog window :  var window = new MyDialogWindow(); window.Owner = this;  window.ShowDialog(); ...
    December 02, 2008
  • Web

    Codeless client-side data-binding to ADO.NET DataService

    I'm happy to announce that with our next service pack you will be able to bind the grid completely codeless to ADO.NET DataService. With this great new feature you will get full REST support for paging, sorting and filtering without writing any code: pure JSON response: and all operations are applied directly to the data-base server: [Live | Download]...
    November 28, 2008
  • 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,...
    November 27, 2008
  • Web ASP.NET AJAX

    IE7 Scrolling Is Slower If Hover Pseudo CSS Classes Are Used on the Page

    This has been something like a tale of the unexpected for me. A client recently reported a problem with scrolling being slow in IE when the mouse wheel is used. It took about two afternoons of testing different scenarios and head scratching, and this is where we got: it seems that if a :hover pseudo CSS class is used on the web page, scrolling in IE7 becomes slower, even if the CSS selector, which contains the :hover pseudo class does not select anything, i.e. the CSS rule is not relevant to any of the web page elements. The longer the page, the...
    November 26, 2008