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....
    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
  • 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
  • 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 ...
    October 21, 2009
  • Web ASP.NET AJAX

    RadControls for ASP.NET AJAX -- Q3 BETA Now Available

    It is our pleasure to bring you the Q3 BETA of RadControls for ASP.NET AJAX. We are introducing three new controls: RadListView, RadRating and RadSiteMap as well as many other improvements throughout the whole suite. Full details on the new release are available in the Beta Forum as well as Telerik Labs. Check the online demos and download the Beta from your account (or free trial). Enjoy and let us know of your feedback!
    October 17, 2009