O
Omid
Hello, I have a problem with running of my webform. I made a treeview,
but when I start to run my webform, I get only text and I couldn't see
treeview. You can see my HTML code below:
<HTML>
<HEAD>
<title>WebForm3</title>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout" bgColor="#99cccc">
<form id="Form1" method="post" runat="server">
<iewc:TreeView id="Treeview" style="Z-INDEX: 101; LEFT: 56px;
POSITION: absolute; TOP: 20px" runat="server"
SystemImagesPath="file:///D:\Inetpub\wwwroot\treeimages\/"
Width="304px" Height="332px"
ImageUrl="file:///D:\Inetpub\wwwroot\images"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif"
BackColor="#C0C0FF" SelectExpands="True">
<iewc:TreeNode ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="John Smith" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Jan. 3rd, 1885 "></iewc:TreeNode>
<iewc:TreeNode Text="Died: Feb. 13, 1919"></iewc:TreeNode>
<iewc:TreeNode ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="Spouse" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Marie
Ellsworth" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Aug. 1, 1889"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Unknown"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="Children" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="John
Smith, Jr." Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: July 4, 1891"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Sept. 22, 1893 "></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Mary
Smith" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: June 7, 1893"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Aug. 13, 1949"></iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Spouse"
Expanded="True" ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Edward
Joy" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Unknown"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Aug. 13, 1949"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="Children" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Michael
Joy" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Oct. 8, 1918"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Michele
Joy" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: May 21, 1920"></iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeView>
</form>
</body>
</HTML>
but when I start to run my webform, I get only text and I couldn't see
treeview. You can see my HTML code below:
<HTML>
<HEAD>
<title>WebForm3</title>
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout" bgColor="#99cccc">
<form id="Form1" method="post" runat="server">
<iewc:TreeView id="Treeview" style="Z-INDEX: 101; LEFT: 56px;
POSITION: absolute; TOP: 20px" runat="server"
SystemImagesPath="file:///D:\Inetpub\wwwroot\treeimages\/"
Width="304px" Height="332px"
ImageUrl="file:///D:\Inetpub\wwwroot\images"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif"
BackColor="#C0C0FF" SelectExpands="True">
<iewc:TreeNode ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="John Smith" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Jan. 3rd, 1885 "></iewc:TreeNode>
<iewc:TreeNode Text="Died: Feb. 13, 1919"></iewc:TreeNode>
<iewc:TreeNode ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="Spouse" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Marie
Ellsworth" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Aug. 1, 1889"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Unknown"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="Children" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="John
Smith, Jr." Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: July 4, 1891"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Sept. 22, 1893 "></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Mary
Smith" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: June 7, 1893"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Aug. 13, 1949"></iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Spouse"
Expanded="True" ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Edward
Joy" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Unknown"></iewc:TreeNode>
<iewc:TreeNode Text="Died: Aug. 13, 1949"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif"
Text="Children" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Michael
Joy" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: Oct. 8, 1918"></iewc:TreeNode>
</iewc:TreeNode>
<iewc:TreeNode
ImageUrl="file:///D:\Inetpub\wwwroot\images\folder.gif" Text="Michele
Joy" Expanded="True"
ExpandedImageUrl="file:///D:\Inetpub\wwwroot\images\folderopen.gif">
<iewc:TreeNode Text="Born: May 21, 1920"></iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeNode>
</iewc:TreeView>
</form>
</body>
</HTML>