Telerik blogs

Latest

  • Web ASP.NET AJAX

    New content providers for the RadEditor and RadFileExplorer controls

    The default content provider, that ships with the editor and file explorer controls will only work with files in the current web application. Naturally, there are scenarios where you wish to show files that are not physically in the application folder. The provider model allows you to do just that - you can either customize the existing provider (FileSystemContentProvider) or write a completely new one (FileBrowserContentProvider). We recently went through the forums and noted what custom providers are most frequently used with the RadEditor and RadFileExplorer controls. After that we created sample providers for those scenarios and posted them as support...
    October 30, 2009
  • Productivity

    Connecting to SQL Azure with Telerik OpenAccess

    digg_url = "http://www.stephenforte.net/PermaLink,guid,b4b60e8a-953b-4cc6-b517-2b30ca985a42.aspx";digg_title = "Connecting to SQL Azure with Telerik OpenAccess";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; With the official release of SQL Azure less than three weeks away, we are starting to see mainstream vendor support for SQL Azure. Telerik’s OpenAccess ORM is no exception. With the Q3 release of OpenAccess next week, OpenAccess will have full support for SQL Azure, going further than the basic support available today that I demonstrated on my blog last month. Full wizard support, forward and reverse mapping, and of course data services support via the Telerik Data Services Wizard. Let’s take a look at the basics here. Getting Started To get up and running and show the mapping and LINQ support, I will open Visual Studio 2008 (or 2010) and create a simple Console...
    October 30, 2009
  • Web

    Virtualized Telerik ComboBox for Silverlight

    In some scenarios it is required to load thousands of items in a ComboBox. Since by default the control creates RadComboBoxItem containers for each data item, it might take some time to open the drop-down. To resolve the problem you only need to change the RadComboBox ItemsPanel with VirtualizingStackPanel: <telerikInput:RadComboBox> <telerikInput:RadComboBox.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel /> </ItemsPanelTemplate> </telerikInput:RadComboBox.ItemsPanel> </telerikInput:RadComboBox> .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; }   thus making the drop-down to open instantly. Attached is a simple application that loads 1000 items in two RadComboBox controls, one virtualized, the other – not virtualized. The difference between the two controls is visible and becomes much larger if you create 100,000 items! VirtualizingComboBox I hope this helps....
    October 28, 2009
  • Web ASP.NET AJAX

    Choose your preferred data layout with RadListView for ASP.NET AJAX

    Did you hear the bells and whistles which accompanied the public Q3 2009 Beta release of RadControls for ASP.NET AJAX? If not, I think it is time to explore it and get acquainted with the new controls/features that we will be introducing for the official Q3 2009 release expected in the first week of November. One of the new controls that I encourage you to play with is RadListView for ASP.NET AJAX. If you allow me to quote one of our clients who already gave the Q3 2009 Beta a spin, it is "something like a rotator on steroids" which allows you...
    October 27, 2009
  • Desktop WPF

    How to: Validate data with SL/WPF RadGridView Part I – validating on property/cell level via Data Annotations

    With the next Q3 2009 official release we are introducing a significant improvement to the validation mechanism of the RadGridView control. If we compare the new validation to the previous versions we add another validation layer (Data Layer) and refactoring of the related events. In a series of blog posts I’ll try to clarify this mechanism with several small examples. I’ll start the series with validation for a single cell.   How to: Validate data on a cell (property) level with RadGridView for Silverlight and WPF   The cell validation occurs when a GridViewCell is edited and its new data is about to be committed. At...
    October 27, 2009
  • Release

    Telerik OpenAccess WCF Wizard October CTP

    digg_url = "http://www.stephenforte.net/PermaLink,guid,88d4e8cc-5c29-46de-9aa6-620462b5e20d.aspx";digg_title = "Telerik OpenAccess WCF Wizard October CTP";digg_bgcolor = "#FFFFFF";digg_skin = "normal";digg_url = undefined;digg_title = undefined;digg_bgcolor = undefined;digg_skin = undefined; The Telerik WCF Wizard that I have shown on this blog several times has been updated and is available on Telerik Labs for download. Whenever Telerik puts something up on Telerik Labs we hope that some early adopters will try it out and give us feedback. We had an amazing demand for the Telerik OpenAccess WCF wizard and got tons of feedback. The most overwhelming piece of feedback is the name of the wizard: so as of this CTP, the wizard is now renamed the Telerik Data Services Wizard. We made some key enhancements in this build for usability. The big thing is that you no longer have to...
    October 27, 2009
  • Release

    Upgrade Wizard: auto-upgrades and more

    Developers (yours truly included) often hate it when there is a need to deal with an external tool to accomplish a simple task. The upgrade process of RadControls seems such a task – you need to start a browser, open the Telerik website, login to your account, navigate to the Downloads section, download the installer and run it. Even more - if you want to keep updated you need to either check your RSS reader or e-mail, or refresh the Downloads page when you’re eagerly waiting for a new version.   One of the new features in the RadControls for ASP.NET...
    October 26, 2009
  • Web

    How to display data from different tables using one data source

    In many cases our customers that use Telerik OpenAccess ORM face the need to rapidly change the source table from which they are displaying data. For example you can have a RadGrid filled with customers on the start of your application and whenever a certain customer is selected you can change the displayed data in the grid with the Orders for the given customer (note that in such case the data will be taken from two different tables – Customers and Orders). But do you need two datasource controls to do this? The simple answer is NO. You can achieve this...
    October 26, 2009
  • Release

    New Feature: Silverlight RIA services compression with Telerik RadControls Q3 2009

    With our upcoming Q3 2009 release you can use RadCompression (part of Telerik.Web.UI.dll) to compress your RIA services: Without compression: With compression: Check the numbers :) Enjoy! [Download]...
    October 23, 2009
  • Productivity

    How to map references and collections – Part 1

    The references in the object model and the references in the database schema can be defined in several ways. The definitions are following different idioms and it is not straight forward how a mapping can be defined. In the database schema you have the foreign key reference; in the object model you have single references, collections and dictionaries. Let’s look at a simple schema in the database, the Persons table has a foreign key reference to the Addresses table. There are now 3 ways to map this in OpenAccess. 1. You can map it to a reference field which is the...
    October 23, 2009