1
votes

I am getting below exception in runtime, could anybody suggest what is wrong?

Microsoft JScript runtime error: Object expected

Exception is coming in very first line:

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
Which line does it fail? - Jeremy
first line aspxAddHoverItems(.... - 14578446
Have you declared aspxAddHoverItems anywhere? - Jeremy
aspxAddHoverItems is an undefined (or unfound) function - Sam Tyson
actually i have not written this script anywhere, this script is generated in calibration.aspx[dynamic] my page: calibration.aspx - 14578446

1 Answers

1
votes

aspxAddHoverItems is simply unrecognized as the error suggests. Be sure to include all necessary references and assemblies in your project.

This may be just what you need: How to: Manually Register DevExpress Extensions to Start Using Them in an MVC Web Application

Some additional reading: Google Search: aspxAddHoverItems is not defined