1

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();
5
  • 1
    Which line does it fail? Commented Jun 14, 2012 at 17:19
  • first line aspxAddHoverItems(.... Commented Jun 14, 2012 at 17:21
  • Have you declared aspxAddHoverItems anywhere? Commented Jun 14, 2012 at 17:21
  • aspxAddHoverItems is an undefined (or unfound) function Commented Jun 14, 2012 at 17:21
  • actually i have not written this script anywhere, this script is generated in calibration.aspx[dynamic] my page: calibration.aspx Commented Jun 14, 2012 at 17:29

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.