Telerik blogs

Latest

  • 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....
    May 27, 2021 1 min read
  • 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...
    May 27, 2021 2 min read
  • 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...
    May 27, 2021 3 min read
  • 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...
    May 27, 2021 2 min read
  • 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...
    May 27, 2021 2 min read
  • 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...
    May 27, 2021 2 min read
  • 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]...
    May 27, 2021 1 min read
  • 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...
    May 27, 2021 3 min read
  • Release

    TFS Work Item Manager and TFS Project Dashboard Beta 2 Now Available For Download!

    Just a month after releasing the quite popular Telerik TFS Tools (built by Imaginet Resources with RadControls for WPF), a fresh new update of the TFS Work Item Manager and TFS Project Dashboard is waiting for you to be downloaded! Beta 2 of the TFS tools ships numerous enhancements and optimizations, as well as new functionality: Iteration Planning Tool. This planning interface lets you take work items directly from the product backlog and schedule them into future iterations. What’s more, the Iteration Planner also takes into account the capacity limitations of these iterations. Choose work items from your Product Backlog, add...
    May 27, 2021 2 min read
  • Web

    Continuous Integration with WebAii for Silverlight, NUnit and CruiseControl.NET

    Who says automated functional tests cannot be a part of a Continuous Integration system? Or do you miss the proper tools? A Telerik customer, Sebastian Klapp, submitted a Code Library project about a sample CI system that runs WebAii Testing Framework Silverlight tests. Mr. Klapp shares their integration of WebAii tests, NUnit framework and CruiseControl.NET in this project. The result is a powerful CI system that assures their Silverlight application (based on RadControls for Silverlight) functions correctly on every developer source control check-in! Check it out! The submission can surely help as a tutorial for building a system that ...
    May 27, 2021 1 min read