Skip to content

Commit e214609

Browse files
committed
kb(grid): fix typos and wrong references
1 parent dd42f30 commit e214609

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

knowledge-base/grid-cascading-multicolumncombobox-in-radgrid-with-batchedit.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ Create a RadClientDataSource Control that will call use the WebService.asmx for
6464

6565
<telerik:GridTemplateColumn DataField="Country" HeaderText="Country" SortExpression="Country" UniqueName="Country">
6666
<ItemTemplate>
67-
<%# Eval("Country")%>
67+
<%# Eval("ShipCountry")%>
6868
</ItemTemplate>
6969
<EditItemTemplate>
7070
<telerik:RadMultiColumnComboBox runat="server" ID="MCCBCountry" ClientDataSourceID="RadClientDataSource1"
7171
DataValueField="CountryID"
7272
DataTextField="CountryName">
73-
<ClientEvents OnOpen="CountryOpen" />
73+
<ClientEvents OnOpen="CountryDropDownOpening" />
7474
<ColumnsCollection>
7575
<telerik:MultiColumnComboBoxColumn Field="CountryID" Title="ID" Width="50px" />
7676
<telerik:MultiColumnComboBoxColumn Field="CountryName" Title="Country Name" Width="200px" />
@@ -298,7 +298,7 @@ protected void RadGrid1_PreRender(object sender, EventArgs e)
298298
{
299299
var grid = (RadGrid)sender;
300300

301-
var continentCombo = (grid.MasterTableView.GetBatchEditorContainer("cbCICColumn").FindControl("cbCIC") as RadMultiColumnComboBox);
301+
var continentCombo = (grid.MasterTableView.GetBatchEditorContainer("Continent").FindControl("MCCBContinent") as RadMultiColumnComboBox);
302302
continentCombo.DataSource = GetContinents();
303303
continentCombo.DataBind();
304304
}

0 commit comments

Comments
 (0)