This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - ../scripts/scriptset1.aspx

Gorinich - Monday, October 3, 2011 7:58 AM:

Hi
When the ../scripts/scriptset1.aspx (added line) has been changed, javascript functions attached to the form fields stop working and firing error:
"event handler is not correctly completed. The event handler is correctly completedwith the message: It is assumed the existence of the object. Error on the client side"
How to debug it? Need help.



eric_h - Monday, October 3, 2011 1:38 PM:

Gorinich,

The ..javascriptscriptsetX/aspx files appear to be 'loader' files for sets of JavaScript files. Basically the look like they are used to group needed files per certain functionality, which allows Aras to make a single file call that loads all the needed JavaScript files (so each scriptset file is for different usage cases.)

What did you change here? I cannot see a reason to change these files. If you removed one of the entries to load one of the JavaScript files, that could easily break things. I am not an expert on these files, but this is what it looks like to me.

Eric



Gorinich - Monday, October 3, 2011 3:38 PM:

Thank you Eric. I know about scriptset files functions. I add new js file to the list (jquery). And maybe it is not the reason of errors. I was confused message at the beginning of the file, which I do not fully understand.

The bottom line is that methods attached to the form fields events are not working and fires error, that was described above. =(



eric_h - Monday, October 3, 2011 4:26 PM:

Ok, got it. I have not worked too much yet with the event handlers to have seen this before. Maybe post the details of the event you are trying to configure and the code you are trying to tie to that event? You are right, this might be independent of trying to add in jQuery to the scriptset files.

Eric



Gorinich - Tuesday, October 4, 2011 12:46 AM:

Any js code in event handler causes an error