


I have a RadGrid where one of the columns is a GridTemplateColumn with a RadComboBox:
<telerik:RadGrid ID="EmployeeRadGrid" runat="server" Width="96%" GridLines="None" AutoGenerateColumns="False" PageSize="13" AllowSorting="True" AllowPaging="True" ShowStatusBar="true" Visible="False" OnUpdateCommand="EmployeeRadGrid_UpdateCommand" OnNeedDataSource="EmployeeRadGrid_NeedDataSource" OnInsertCommand="EmployeeRadGrid_InsertCommand" OnDeleteCommand="EmployeeRadGrid_DeleteCommand" onitemdatabound="EmployeeRadGrid_ItemDataBound" > <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle> <MasterTableView DataKeyNames="EmployeeID" AllowMultiColumnSorting="True" Width="100%" CommandItemDisplay="Top" EditMode="InPlace"> <Columns> <telerik:GridBoundColumn UniqueName="Name" SortExpression="Name" HeaderText="Navn" DataField="Name" /> <telerik:GridTemplateColumn UniqueName="EmployeeID" HeaderText="Departement"> <ItemTemplate> <%#DataBinder.Eval(Container.DataItem, "DepartementName")%> </ItemTemplate> <EditItemTemplate> <telerik:RadComboBox runat="server" ID="RadComboBox1" Width="200" DataTextField="Name" DataValueField="DepartementID" DataSourceID="DepartementDataSource" AllowCustomText="False" EnableAutomaticLoadOnDemand="true" OnClientLoad="OnClientLoadHandler"> </telerik:RadComboBox> </EditItemTemplate> </telerik:GridTemplateColumn>The RadComboBox1 is populated through the ItemDataBound event of the EmployeeRadGrid:
protected void EmployeeRadGrid_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item.IsInEditMode) { GridEditableItem item = (GridEditableItem)e.Item; if (!(e.Item is IGridInsertItem)) { RadComboBox combo = (RadComboBox)item.FindControl("RadComboBox1"); combo.Items.Clear(); List<DepartementResult> deps = getDepartements(); foreach (DepResult dep in deps) { RadComboBoxItem newItem = new RadComboBoxItem(); newItem.Text = dep.Name; newItem.Value = dep.DepartementID.ToString(); newItem.Attributes.Add("DepartementName", dep.Name); combo.Items.Add(newItem); newItem.DataBind(); } combo.SelectedValue = ((DepartementResult)e.Item.DataItem).DepartementID.ToString(); } } }I also have another RadGrid, where all the departements are listed, and the user can make changes to them.
What I want is that the departements listed in RadComboBox1 are updated after changes are made in the DepartementRadGrid. Now what happens is that the RadComboBox1 is disabled in a way, - nothing happens if I click on it. The other column in the EmployeeRadGrid is editable.
If I open my page and go straight to the EmployeeRadGrid, I can access the RadComboBox1, and change the departement. But if I make changes in the EmployeeRadGrid, the RadComboBox is not responsive.
Any help is appreciated.

