Telerik blogs
  • Productivity Testing

    Avoid Failing Tests When Automating Dynamic Ajax Requests

    My advice: DO NOT EVER rely on execution delays, manual pauses, or Thread.Sleep() to handle your tests’ timing issues. Ever. Period. Instead, figure out exactly what condition you need to move forward with your test, then create an explicit wait for that condition. This is a rock-solid pattern that works in nearly every situation. Here’s a practical example for you using Telerik’s neat demo of our RadComboBox.
    April 22, 2013
  • Web ASP.NET AJAX

    Need to search in large datasets? Don’t worry, Telerik’s ASP.NET SearchBox control has got you covered.

    Last week we wrote about our new ASP.NET DropDownList control taking some specific functions of our existing ComboBox control, but in a more lightweight and better performing manner. Continuing this trend, it’s time to introduce another of the new members of Telerik’s ASP.NET control suite – the SearchBox.
    February 13, 2013
  • Web ASP.NET AJAX

    Meet the Better-performing and More Lightweight DropDownList for ASP.NET AJAX

    Going through customer feedback several months ago, we realized that there are pretty simple scenarios in which you use our ASP.NET ComboBox, while you could be using a much simpler and more lightweight control designed for the task at hand. We then thought we could ship such controls to substitute some of the ComboBox functionality and allow you to do you job faster and with less code. The newest addition to Telerik’s ASP.NET AJAX controls family is designed to make creating dropdown lists a breeze, delivering flawless looks and great performance. Meet the DropDownList.
    February 06, 2013
  • 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

    TreeView in ComboBox, take 3 (Silverlight 3, WPF and RadControls)

    In my previous article on the same topic I described how to replace the ItemsPresenter of RadComboBox with a RadTreeView. It was as simple as updating the control template. Unfortunately the controls’ selection synchronization relied on a bug in RadComboBox that we recently fixed – the control was able to have a value in its SelectedItem property, that was not present in its Items collection. Now, in order to workaround this new problem, we have to either inherit RadComboBox, or create an attached behavior that will allow us to get the SelectedItem of the inner RadTreeView. The code you have to write...
    August 27, 2009