Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old September 27th, 2007, 02:03 AM
Authorized User
Join Date: Apr 2007
Location: delhi, delhi, India.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default treeview problem while migrate from 1.1 to 2.0 in

hi everyonw,
i used microsoft treeview control in asp.net 1.1 but when i migrate my appliction to the asp.net 2.0 (in this version treeview control is available) there is conflict between these two controls.

the error iss:

'TreeNodeCollection' is an ambiguous reference between 'System.Web.UI.WebControls.TreeNodeCollection' and 'Microsoft.Web.UI.WebControls.TreeNodeCollection'

please send me the solution of this problem
Reply With Quote
  #2 (permalink)  
Old September 8th, 2008, 09:18 AM
Registered User
Join Date: Sep 2008
Location: Singapore, Singapore, Singapore.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Nittin,
I have a problem with an old application in .Net framework 1.1 which i need to get it running and then migrate to .Net 3.0 . The problem is Tree is not being displayed properly instead all text gets appended and displayed continuously instead of being shown on each node. Any advice on how to solve this ?

Reply With Quote
  #3 (permalink)  
Old September 8th, 2008, 09:23 AM
Friend of Wrox
Join Date: Mar 2007
Location: Hampshire, United Kingdom.
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post

Oh dear god..
The error is telling you the exact problem!

You have a duplicate reference, sort out your namespaces/project references to ensure you are referencing the correct one that the application is designed to work with, and all will work fine!

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Treeview collapse problem syedwaqarali ASP.NET 2.0 Professional 1 July 3rd, 2007 05:38 AM
Problem with Treeview amor1980 ADO.NET 1 May 17th, 2006 06:26 AM
TreeView Problem Medes C# 2005 0 April 23rd, 2006 07:20 AM
TreeView Problem Aaron Edwards ASP.NET 1.0 and 1.1 Basics 0 December 20th, 2005 03:19 AM
Treeview Webcontrol problem Victor ADO.NET 2 September 9th, 2004 10:55 AM

All times are GMT -4. The time now is 12:32 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.