I can't seem to get my tree view working on my asp.net(vb) page. I downloaded the component and followed the steps to compile and add it to visual studio.
I then added the component to a test page and then added some nodes. Everything up to that point seems to be working ok except that after I compile the code and run it on a webpage, it displays the tree as text across the page. No dropdown is available. What am I doing wrong?
Yeah, sorry, forgot to mention that. I downloaded the component from an asp.net website. It required that I run the webmatrix.msi and then click on the build.bat file to create the .dll file. Next it required me to follow these directions:
Before I get into the stuff below, I get this error when I compiled the component to make the .dll
src\treeview.cs(1193,13): warning CS0618:
System.Xml.Xsl.XsltArgumentList, System.IO.Stream)’ is obsolete: ‘You should pass XmlResolver to Transform() method’
Internet Explorer Web Controls README
Last updated: 1/14/2002
Thank you for downloading the IE Web Controls source code release! The Src
folder contains the source code for the IE MultiPage, ToolBar, TreeView, and
TabStrip controls, along with related base classes and design-time support.
To build the IE Web Controls:
1. Make sure you have installed the .NET Framework SDK v1.0 or v1.1
2. Run Build.bat, which will create a build folder in this directory.
The build folder contains Microsoft.Web.UI.WebControls.dll and a
Runtime directory of supporting files.
To run the IE Web Controls:
1. Copy the contents of the Runtime directory to the webctrl_client\1_0
directory under your top-level site directory. For example, if your
site root is c:\Inetpub\wwwroot, type this at the command prompt:
For additional documentation and samples visit: http://msdn.microsoft.com/library/de...rols_entry.asp
When I added the .dll file to my visual studio.net, I was then able to drag and drop the tree view onto the stage of my .aspx webpage. When I followed the directions on how to configure it, I then compiled it and then ran it through my IE browser. All it displayed was text and not the tree view. I'm thinking that the .dll wasn't created correctly because it gave me a warning when it compiled.
no idea... sorry . Try restarting iis. Make sure your default files are set. I am thinking it is a screwed up iis setting. Is it just the tree view or asp.net in general? If its just the tree view then iis is not handling the component correctly I think, if its all asp.net then its definatly a setting. I can't offer much more support then this, I do not use components that much.
Yeah, I think you are right. I've tried looking up through yahoo and google with the error message that I received and the only thing I was seeing is that XP might be to blame. There is one more step I can take with the copy command in the instructions that might work. I appreciate your help, and you are always helpful.