3 Answers, 1 is accepted
How many items do you have in your combobox? RadComboBox for ASP.NET Ajax is supposed to be faster than the old one. You can also disable the expand animation like this:
<telerik:RadComboBox runat="server">
<ExpandAnimation Type="None" Duration="0" />
<CollapseAnimation Type="None" Duration="0" />
</telerik:RadComboBox>
As for the skin - RadComboBox for asp.net ajax is using different skinning implementation (different HTML and CSS). I suggest you send us your custom combobox skin in a support ticket (all required css and image files). We will assist with the upgrade of the your skin.
Regards,
Albert
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
They are in the hundreds, but I am comparing it to the old control, the delays happens only on the first click,
Here is my old control
<%@ Register TagPrefix="radcb" Namespace="Telerik.WebControls" Assembly="RadComboBox" %>
<radcb:radcombobox Width="80" id="dgrcmb" Runat="server" maxLength="100" CssClass="clsTableCellLeft"
Skin="Savi" AllowCustomText="false" MarkFirstMatch="True" AutoPostBack="false" nowrap="true" height="120"></radcb:radcombobox>
the new code looks like this:
<%
@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<
telerik:radcombobox Width="80"
id="dgrcmb" Runat="server" maxLength="100" CssClass="clsTableCellLeft"
Skin="Default2006" AllowCustomText="false" MarkFirstMatch="True" AutoPostBack="false" nowrap="true" height="120">
<
CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</telerik:radcombobox></td>
changing the duration as you described did not effect the response time....
I will write a ticket for the new skin, but its basicaly to match asp:DropDownList in the page.
Ahmed.
RadComboBox AJAX supports the so-called lazy initialization mechanism. Item objects are initialized in the latest possible moment in the control life cycle. This is the first time Items are accessed with the get_items() method, which happens automatically right before the drop down opens.
You could avoid this delay, or more specifically 'move' it to the initial page load, by calling get_items early in the page life cycle. So, in your case you could handle the OnClientLoad event of your ComboBox as shown below:
| <script type="text/javascript"> |
| function onLoad(sender, eventArgs) { |
| sender.get_items(); //force Item initialization |
| } |
| </script> |
Please try the approach and let us know of the results.
Regards,
Simon
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.