none
IE8 error: “Error: Object doesn't support this property or method: 'document.tree.TreeCon.RootNodeCaption'”. How can I solve this??

    Question

  • Error description:

    Line: 141
    Error: Object doesn't support this property or method: 'document.tree.TreeCon.RootNodeCaption'

    In debugger it is this part of the ASP script:

     

    Sub Window_Onload()

    ButtonClicked=

    false

    document.tree.TreeCon.RootNodeCaption=

    "Select Source Tables"

    document.tree.TreeCon.SourceTables =

    "<%= Strtables%>"

    document.tree.TreeCon.ControlHeight = 3000

    document.tree.TreeCon.ControlWidth = 4500

    document.tree.TreeCon.ControlLeft = 0

    document.tree.TreeCon.ControlTop = 0

    document.tree.TreeCon.control_Show

     

    End Sub

    Can you help me please??

    Thanks & Regards,
    Kees

    Friday, January 22, 2010 6:41 PM

Answers

  • ASP code executes on the server side, or is this VB script executing in IE?

    If it is ASP code then you'd probably have better luck on an ASP forum.

    If it is client side VB then there isn't a document.tree object and instead you should use document.getElementById(<id>) to get a reference to an object.
    Saturday, January 23, 2010 7:10 PM

All replies

  • Hello khasselm,

    ·         Can you please tell us when exactly do you get this error message with the Internet Explorer?

    ·         Do you get the error when trying to open the Internet Explorer?

    If you are getting a script error when trying to run Active-X content or Java applets, you can refer the below article that has different potential steps to fix this issue.

    http://support.microsoft.com/kb/308260

    Thanks,

    Savan- Microsoft Support.

    Saturday, January 23, 2010 6:31 PM
  • ASP code executes on the server side, or is this VB script executing in IE?

    If it is ASP code then you'd probably have better luck on an ASP forum.

    If it is client side VB then there isn't a document.tree object and instead you should use document.getElementById(<id>) to get a reference to an object.
    Saturday, January 23, 2010 7:10 PM