0
我有一個RadGrid,我在其中使用EditForm FormTemplate。RadGrid中的UpdatePanel或RadAjaxPanel EditForm模板不工作
裏面有一些列表(RadComboBox)與一些公司。當用戶選擇這些公司中的一個時,它應該用另一個RadComboBox填充所有位置的列表。
起初,我嘗試過使用UpdatePanel,然後是RadAjaxPanel。既沒有工作。
這是一個精簡版:
<FormTemplate>
<table>
<telerik:RadAjaxPanel runat="server">
<tr>
<td>
Company
</td>
<td>
<telerik:RadComboBox ID="rcbCompany" runat="server" Width="250px" ValidationGroup="NewResource"
DataTextField="C_Name" DataValueField="Bedrijf_ID" AppendDataBoundItems="true"
OnSelectedIndexChanged="rcbCompany_OnSelectedIndexChanged">
</telerik:RadComboBox>
</td>
</tr>
<tr>
<td>
Locatie
</td>
<td>
<telerik:RadComboBox ID="rcbLocation" runat="server" Width="250px" ValidationGroup="NewResource"
DataTextField="location" DataValueField="Location_ID" AppendDataBoundItems="true" />
</td>
</tr>
</telerik:RadAjaxPanel>
</table>
</FormTemplate>
你怎麼能做出這樣的工作?如果不可能,請給出不需要太多工作的替代方法。
我會再次訪問Telerik(工作時)時檢查此內容。 – Aidiakapi