By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,478 Members | 1,374 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,478 IT Pros & Developers. It's quick & easy.

Problem with Treeview control......

P: 21
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.gi f" ExpandedImageUrl="file:///\\system107\Webservices\THiRU\Treeimages\folder.gi f"
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..
Sep 12 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.