Microsoft JScript运行时错误:对象预期异常

时间:2012-06-14 17:18:36

标签: javascript asp.net .net .net-4.0 jscript

我在运行时遇到异常,有人会建议出错吗?

Microsoft JScript runtime error: Object expected

异常即将出现在第一行:

aspxAddHoverItems('tabMaster',[[['dxtcTabHover_Glass'],[''],['T0','T1','T2','T3'],['','T'],[[''],[''],[''],['']],['Img']],[['dxtcActiveTabHover_Glass'],[''],['AT0','AT1','AT2','AT3'],['','T'],[[''],[''],[''],['']],['Img']]]);

var dxo = new ASPxClientTabControl('tabMaster');
window['tabMaster'] = dxo;
dxo.uniqueID = 'ctl00$tabMaster';
dxo.RegisterServerEventAssigned(['TabClick']);
dxo.emptyHeight = true;
dxo.emptyWidth = true;
dxo.tabCount=4;
dxo.InlineInitialize();

1 个答案:

答案 0 :(得分:1)

错误暗示

aspxAddHoverItems根本无法识别。请务必在项目中包含所有必要的参考和装配。

这可能就是您所需要的:How to: Manually Register DevExpress Extensions to Start Using Them in an MVC Web Application

一些额外的阅读:Google Search: aspxAddHoverItems is not defined