Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
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 April 19th, 2009, 02:57 AM
Authorized User
 
Join Date: May 2006
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via AIM to pratik28
Smile Treeview_BeforeSelect() get fired multiple times unconditionally

Dear All,
Recently i was working with treeview in a desktop application. At present treeview load total of 14 tree nodes all together, but application invokes Treeview_BeforeSelect( ) for comparatively more no of times that number of nodes actually present, this is the first problem.

Second, Treeview_BeforeSelect() fires for the same first tree node in the tree structure always all the times i mentioned above , i checked with the sender object argument and confirmed it.

From my point of view, the method should fire once for every node .So anyone can please clarify the cause of the problem and also help me out for solution. It would be highly appreciated.Thank you.
__________________
imspratik
 
Old April 19th, 2009, 12:14 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
Recently i was working with treeview in a desktop application.
You're in the ASP.NET Web forum. You may want to try a WinForms category here at p2p.wrox.com instead (if it's about .NET TreeViews).

Cheers,

Imar
---------------------------------------------------------------------------------------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Incl certain fields if they appear multiple times SpyderSL Access VBA 1 November 4th, 2008 12:52 PM
same records shown multiple times alie VB Databases Basics 1 March 8th, 2006 10:13 AM
Problem with loading user control multiple times neha mukerjee ASP.NET 2.0 Basics 0 February 24th, 2006 06:11 AM
Button Handler Being called multiple times ExDb VB Databases Basics 1 January 22nd, 2006 07:32 PM
print multiple times..multiple rows... abhit_kumar JSP Basics 3 January 18th, 2005 07:11 PM





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