0
我用这对ExtJS的窗口负荷的观点:ExtJS的查看加载
autoLoad: { url: '@Url.Content("~/Admin/AddEditAssetTypes/")',
scripts: true,
nocache: true }
但没有加载意见。
我用这对ExtJS的窗口负荷的观点:ExtJS的查看加载
autoLoad: { url: '@Url.Content("~/Admin/AddEditAssetTypes/")',
scripts: true,
nocache: true }
但没有加载意见。
您正在尝试使用路径加载数据,而不是url。
url是一个网址(可以是相对的),其中路径是服务器上的物理文件路径。
你的代码片段应该像
autoLoad: {
url: '/Admin/AddEditAssetTypes/filename.html',
scripts: true,
nocache: true
}
基本上,你应该能够浏览到在浏览器中url
配置选项。如果您无法查看它,那么Ext将无法在Panel中显示它。