<%@ Control Language="C#" AutoEventWireup="true" Codebehind="UC062.ascx.cs" Inherits="VMI.Web.Controls.UC062" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadCodeBlock ID="RCB1" runat="server">
<script type="text/javascript" language="javascript">
function RadComboBox2_OnClientFocus() {
}
</script>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="10%">
<telerik:RadComboBox ID="RadComboBox2" runat="server"
EnableLoadOnDemand="True"
HighlightTemplatedItems="True"
ItemRequestTimeout="500"
AllowCustomText="True"
NoWrap ="true"
ShowWhileLoading ="true"
Height="100%"
DropDownWidth="180px"
MarkFirstMatch="True"
OnItemDataBound="RadComboBox2_ItemDataBound"
OnItemsRequested="RadComboBox2_ItemsRequested"
OnClientFocus="RadComboBox2_OnClientFocus"
OnLoad="RadComboBox2_Load"
OnSelectedIndexChanged="RadComboBox2_SelectedIndexChanged"
ShowToggleImage="False"
Skin="Inox">
</telerik:RadComboBox>
</td>
</tr>
</table>
this is ASPX Page code fragment
<asp:GridView ID="dgiPipeLineItem" CssClass="cellPadding" runat="server" AutoGenerateColumns="False"
Width="100%" meta:resourcekey="dgiPipeLineItemResource1" BorderWidth="1" BorderColor="#cacaca"
OnRowDataBound="dgiPipeLineItem_RowDataBound" OnRowCancelingEdit="dgiPipeLineItem_RowCancelingEdit"
OnRowEditing="dgiPipeLineItem_RowEditing" DataKeyNames="ID" OnRowUpdating="dgiPipeLineItem_RowUpdating">
<HeaderStyle CssClass="Td_UpdateForm_Field3" />
<RowStyle CssClass="table_11" />
<AlternatingRowStyle CssClass="table_10" />
<Columns>
<asp:TemplateField HeaderText="xxx" meta:resourcekey="TemplateFieldResource2">
<ItemStyle HorizontalAlign="Left" />
<EditItemTemplate>
<uc3:UC062 ID="uc_SupportDeptEdite" runat="server" OnSelectedIndexChanged="uc_SupportDeptEdite_OnSelectedIndexChanged" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="lblSupportDept" runat="server" Text='<%# Eval("SupportDeptName") %>'></asp:Label>
</ItemTemplate>
<FooterTemplate>
<uc3:UC062 ID="uc_SupportDeptFooter" runat="server" OnSelectedIndexChanged="uc_SupportDeptFooter_OnSelectedIndexChanged" />
</FooterTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
when the page loaded
we got a java script error in vs2008: Microsoft JScript 執rumtime error: 'RadComboBox2_OnClientFocus' undefined
but we found other server side combobox event is ok. only the client side event (in this example, OnClientFocus event).
Can you help us with this issue?
thanks
regards

Hi,
I am using RadGrid with a MasterTableView (Orders table) with a DetailTables (OrderDetails Table). In my OrderDetails i have 19 fields, just a few of them are visibles in the grid but they are all editables in the EditForm.
I have the customer field and the product field that are GridDropDownColumn. But ia have a problem because i have about 10000 customers and 20000 products. It take a long time to load the page when I want to modify an item in the OrderDetail. Finaly after the page is load, i have a warning "Stop the execution of this script? A script on this page slows Internet Explorer.
If it continues, your computer may stop responding. Yes or No."
Is it possible to load on demand those two GridDropDownColumns or maybe is it possible to enter the 1st, 2 first or 3 first characters of the customer number or the product number before loading the corresponding table?
Or is is possible to use a RadComboBox in a FormTemplate.
Thanks
<rad:RadToolbar runat="server" ID="RadtoolbarSearch" Skin="Outlook" UseFadeEffect="True"
AutoPostBack="True" OnButtonClick="RadtoolbarSearch_OnClick">
<Items>
<
rad:RadToolbarButton Width="120px" >
<ItemTemplate>
<asp:Label ID="la" runat="server" Text="Change All Qty (%):" Font-Size="X-Small"></asp:Label>
</ItemTemplate>
</rad:RadToolbarButton>
<
rad:RadToolbarButton>
<
ItemTemplate>
<
div style="vertical-align: bottom;">
<
rad:RadNumericTextBox ID="txtPct" runat="server" Width="40px" MaxLength="3" MinValue="0" MaxValue="500" NumberFormat-DecimalDigits="0"></rad:RadNumericTextBox>
</
div>
</
ItemTemplate>
</
rad:RadToolbarButton>
<rad:RadToolBarButton Width="75px" ImageUrl="~\Images\SingleMinus.gif" AccessKey="i"
CommandName="down" Text="Decrease" />
<rad:RadToolBarButton Width="75px" ImageUrl="~\Images\SinglePlus.gif" AccessKey="i"
CommandName="up" Text="Increase" />
</Items>
</
rad:RadToolbar>