【发布时间】:2011-08-13 15:53:23
【问题描述】:
我设计 ExtJs Combo 并从数据库绑定
var AddEditPeopleStoreCompanyLocation = new Ext.data.JsonStore
({
id: 'AddEditPeopleStoreCompanyLocation',
fields: ['DID', 'Name'],
url: '@Url.Content("~/Admin/GetCompanyLocations")',
//data: [["1", "Head Quaters"], ["2", "Main"]],
root: 'EntityArr',
idProperty: 'KID',
totalProperty: 'ArrayLength',
remoteSort: true,
autoDestroy: true,
autoLoad: true
});
我的要求是当我点击保存按钮时,我在控制器中找到了组合的选定值 为此我使用
public void InsertOrUpdateContactDetails(FormCollection FC)
{
//
}
那么如何在上述函数中获取组合的选定值 提前致谢
【问题讨论】:
标签: extjs