Problem with running treeview on my webform

Discussion in 'ASP .Net Web Controls' started by Omid, Apr 16, 2004.

  1. Omid

    Omid Guest

    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>
    Omid, Apr 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. titof
    Replies:
    0
    Views:
    498
    titof
    Jul 24, 2003
  2. timmso
    Replies:
    1
    Views:
    478
    Alex Papadimoulis
    Dec 12, 2003
  3. =?Utf-8?B?bXN1aw==?=

    Using one webform to set a value on another webform

    =?Utf-8?B?bXN1aw==?=, Jul 12, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    458
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Jul 12, 2006
  4. =?Utf-8?B?Vk1J?=

    Moving value from popup Webform to main Webform?

    =?Utf-8?B?Vk1J?=, Oct 9, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    570
    GroupReader
    Oct 9, 2006
  5. Luqman
    Replies:
    2
    Views:
    660
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
    Apr 11, 2007
Loading...

Share This Page