Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Microsoft treeview control

Microsoft treeview control

Scheduled Pinned Locked Moved ASP.NET
helpsysadmintoolstutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Darrell Long
    wrote on last edited by
    #1

    I was wondering if anyone has seen this or even better knows how to fix it. I have applications that use the treeview control without error, but one client has IE 6.00.2800.1106 and Window 2000 server and gets the following error as a popup dialog: Interner Explorer Script Error An error has occured in the script on this page. Line: 647 Char: 5 Error: A dynamic link library (DLL) initialzation routine failed. Code: 0 URL: http://artemis/webctrl\_client/1\_0/treeview.htc Do you want to continue running scripts on this page? The treeview file is there and this server serves to other clients without error. Here is the function that has the error. // // blurFilter // // decreases alpha filter opacity on given node by 50%, adding one if needed // function blurFilter(oItem) { if (oItem.id == "_tnaccess") oItem = oItem.all.item("_tntext", 0); if (oItem.filters.length > 0) //this is the line with the error { var oFilter = oItem.filters.item("DXImageTransform.Microsoft.Alpha"); if (oFilter) { oFilter.opacity /= 2; return; } } oItem.style.filter += "progid:DXImageTransform.Microsoft.Alpha(opacity=50,style=0)"; } Thanks in advance for any help, Darrell

    M 1 Reply Last reply
    0
    • D Darrell Long

      I was wondering if anyone has seen this or even better knows how to fix it. I have applications that use the treeview control without error, but one client has IE 6.00.2800.1106 and Window 2000 server and gets the following error as a popup dialog: Interner Explorer Script Error An error has occured in the script on this page. Line: 647 Char: 5 Error: A dynamic link library (DLL) initialzation routine failed. Code: 0 URL: http://artemis/webctrl\_client/1\_0/treeview.htc Do you want to continue running scripts on this page? The treeview file is there and this server serves to other clients without error. Here is the function that has the error. // // blurFilter // // decreases alpha filter opacity on given node by 50%, adding one if needed // function blurFilter(oItem) { if (oItem.id == "_tnaccess") oItem = oItem.all.item("_tntext", 0); if (oItem.filters.length > 0) //this is the line with the error { var oFilter = oItem.filters.item("DXImageTransform.Microsoft.Alpha"); if (oFilter) { oFilter.opacity /= 2; return; } } oItem.style.filter += "progid:DXImageTransform.Microsoft.Alpha(opacity=50,style=0)"; } Thanks in advance for any help, Darrell

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, I think the problem is the client IE browser, the Microsoft IE treeview control uses the visual filters and transitions[^] to handle the display of the treeview control in some cases, and the filters which are applied to an object can be accessed via the filters property of that object. The implementation of the filters and transitions are the dxtmsft.dll and dxtrans.dll that should appear in the folder C:\[WINDOWS]\system32. If the browser cannot load those dlls, it will return the error as you are seeing, so IMO there are two options here that you might consider without changing your source code: + Register the dxtmsft.dll and dxtrans.dll. + Reinstall the IE browser with all the latest patches.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups