1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Error message when selecting template

Error message when selecting template

5 posts, 0 answered
  1. Marcel S
    Marcel S avatar
    15 posts
    Registered:
    19 Nov 2009
    19 Nov 2009
    Link to this post
    Hello telerik team,

    When I'm using SiteFinity and go to Pages > Templates, I get an error message if I select one. The application asks me to break, continue or ignore.
    This is the message: Runtime error in Microsoft JScript: Object needed
        if (document.all && form.attachEvent){   
            form.attachEvent ("onsubmit", SubmitHandler); 
        }  

    When I debugged it, I saw, that "form.attachEvent" is a null object, which is not allowed. The code is in a dynamic file, so I can't edit anything.

    How can I solve the problem?

    Many thanks,
    Marcel
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    19 Nov 2009
    Link to this post
    Hi Marcel S,

    We are not able to reproduce this error using Sitefinity 3.7 SP1. Which version you use? Have you made and changes to the built in templates located under Sitefinity/Admin/ControlTemplates/Pages folder?

    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Marcel S
    Marcel S avatar
    15 posts
    Registered:
    19 Nov 2009
    19 Nov 2009
    Link to this post
    Hi Ivan,

    I'm using SiteFinity 3.7 SP1 too. And I didn't make any changes on the files.

    Thanks,
    Marcel

    P.S.: I will continue to try to find the problem. If I solved it, I will post the solution in here.

    EDIT: SiteFinity works regardless.
  4. Marcel S
    Marcel S avatar
    15 posts
    Registered:
    19 Nov 2009
    19 Nov 2009
    Link to this post
    Additional: I also can't edit the PlaceHolders in SiteFinity. I just tried it, and now he gives error messages in an endless loop:
        var boxes = overlayUI.boxes, 
            box;    
        var wrapperObject = overlayUI.theWrapperDiv.parentNode; 
        xpos += wrapperObject.scrollLeft; 
        ypos += wrapperObject.scrollTop; 
         
        if (this.currentBox == null) 
        { 
            for (var i = 0boxLen = boxes.length; i < boxLen; i++) 

    Still the same message.
  5. Marcel S
    Marcel S avatar
    15 posts
    Registered:
    19 Nov 2009
    19 Nov 2009
    Link to this post
    Now I got a new project from a colleague. Works perfect, but thanks to you Ivan anyway ;)

    Greetings,
    Marcel
Register for webinar
5 posts, 0 answered