Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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
thanks
Nittin
 
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
Default

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 ?
Regards
AV

 
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
Default

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!

Rob
http://cantgrokwontgrok.blogspot.com




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 04:19 AM
Treeview Webcontrol problem Victor ADO.NET 2 September 9th, 2004 10:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.