User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 402,521 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,633 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1451 | Replies: 1
Reply
Join Date: May 2007
Posts: 23
Reputation: thirunavukaras is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
thirunavukaras thirunavukaras is offline Offline
Newbie Poster

Problem with Treeview control......

  #1  
Sep 12th, 2007
Hai..

i have Problem with Treeview control......

i am developed one web application...

i am have many aspx page in this project..but all page undercontrol with treeview ..

i am alreay download the IE Web Controls from microsoft site..

I build the batch file then automatically created "Microsoft.Web.UI.WebControls.dll"

("C:\Program Files\IE Web Controls\build\Microsoft.Web.UI.WebControls.dll")

then i am go to add reference to this control..

then html view add this line then register this control

<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral" %>

<form><ie:treeview id="Treeview3" runat="server">
<ie:treenodetype ImageUrl="file:///\\system107\Webservices\THiRU\Treeimages\folder.gif" ExpandedImageUrl="file:///\\system107\Webservices\THiRU\Treeimages\folder.gif"
Type="Folder"></ie:treenodetype>
<ie:treenode Text="Michigan" childtype="Folder">
<ie:treenode Text="Detroit"></ie:treenode>
<ie:treenode Text="Farmington"></ie:treenode>
<ie:treenode Text="Southfield"></ie:treenode>
</ie:treenode>
<ie:treenode Text="Washington">
<ie:treenode Text="Bellevue"></ie:treenode>
<ie:treenode Text="Redmond"></ie:treenode>
<ie:treenode Text="Woodinville"></ie:treenode>
</ie:treenode>
</ie:treeview>

</form>

this is the output

Michigan
Detroit
Farmington
Southfield
Washington
Bellevue
Redmond
Woodinville

i am not having the treeview output..

there is no images in that output..

i am refered many sites but i did't find the answer

please help me.

the plus symbol images how to come

i am go to click plus image to expand the treeview format output

please help ..

reply me..
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Posts: 9
Reputation: rmaheshmsc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
rmaheshmsc rmaheshmsc is offline Offline
Newbie Poster

Re: Problem with Treeview control......

  #2  
Sep 18th, 2007
Hi Thiru....
Which version r u used in u r Proj?
I think u r using VS 2003 .....
Here U add only Parent Node ..
U Should mention child Nodes....
If u add child node then u will get collapse/Expand (+) Symbol automatically.......
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 6:41 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC