<
telerik:RadComboBox ID="ddlEmployee" runat="server" Width="190px" Height="100px"
EmptyMessage="Select employee " EnableLoadOnDemand="True" EnableVirtualScrolling="true"
OnItemsRequested="RadComboBox1_ItemsRequested" DataTextField="Name" DataValueField="EmpNo"
Skin="WindowsXP" OffsetX="2" AllowCustomText="True" EnableEmbeddedSkins="False"
EnableAjaxSkinRendering="False" EnableEmbeddedBaseStylesheet="False"
EnableItemCaching="True" ShowMoreResultsBox="True">
</telerik:RadComboBox>
Can someone help me how to improve the performance?
Any suggestions would be appreciated.
Thanks & Regards,
Kiran
http://www.telerik.com/community/forums/aspnet-ajax/window/radwindow-with-transparent-title-bar.aspx
protected void WorkOrdersRadFilter_ItemCommand(object sender, RadFilterCommandEventArgs e)
{
if(e.CommandName == RadFilter.AddExpressionCommandName)
{
e.Canceled =
true;
RadFilterStartsWithFilterExpression item = new RadFilterStartsWithFilterExpression("WORKORDERNUMBER");
(e.ExpressionItem
as RadFilterGroupExpressionItem).Expression.AddExpression(item);
WorkOrdersRadFilter.RecreateControl();
}
else if (e.CommandName == RadFilter.ChangeExpressionFieldNameCommandName)
{
string myCmdArg = e.CommandArgument.ToString();
if (myCmdArg != "WOTYPENAME" & myCmdArg != "STATUS_MESSAGE" & myCmdArg != "MATERIALTYPE" & myCmdArg != "CREATEDDATE")
{
e.Canceled =
true;
RadFilterStartsWithFilterExpression item = new RadFilterStartsWithFilterExpression(e.CommandArgument.ToString());
//replace the current item with the new item that has the default filter set to StartsWith
int i = e.ExpressionItem.OwnerGroup.Expression.Expressions.IndexOf((e.ExpressionItem).OwnerGroup.Expression.FindByFieldName((((RadFilterSingleExpressionItem)(e.EventSource)).Expression).FieldName));
e.ExpressionItem.OwnerGroup.Expression.Expressions.RemoveAt(i);
e.ExpressionItem.OwnerGroup.Expression.Expressions.Insert(i, item);
WorkOrdersRadFilter.RecreateControl();
}
}
}