CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/29/2006 2:31:15 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 32 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
bobek007
Asp.Net User
TreeView Simple Question.....3/29/2006 2:31:15 PM

0/0

What event is raised when user click on already selected node in the TreeView control? There is no OnClick (server side) events. I tried to assign action (TreeNodeSelectAction.Select) to every node, but I don't know how to handle event then.

SelectedNodeChanged event is triggered only when you select different node, but if you click on the same node (that is ALREADY SELECTED) no event is triggered. Node.NavigateUrl is set to empty string which means that tree is doing postback. After reading all the help pages I could find, it seems to me that capturing OnClick is not possible. I simply can't believe it.

Why I need this? In my application I am using TreeView and MultiView (with several Views: ViewDefault, ViewSearch, ViewPreview ) controls.  I need to make sure when user click on any tree node that ViewDefault will be set to active.

Thanks
dannychen
Asp.Net User
Re: TreeView Simple Question.....3/29/2006 10:54:46 PM

0/0

Unfortunately, there is not an OnClick event.  One trick for making this happen, however, is to reset the selected node to nothing each time you postback.  This way a new selection will always happen.

--
Danny


disclaimer: Information provided is 'as is' and conveys no warranties or guarantees.
bobek007
Asp.Net User
Re: TreeView Simple Question.....3/30/2006 3:19:25 AM

0/0

Thank you. At least I know it's not possible, so I can stop searching for solution.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Server Control and Component Development Authors: Shahram Khosravi, Pages: 1186, Published: 2006
Genome Informatics 2007: Proceedings of the 18th International Conference, Biopolis, Singapore, 3-5 December 2007 Authors: See-Kiong Ng, Hiroshi Mamitsuka, Limsoon Wong, Pages: 199, Published: 2007
Mastering Visual Basic.NET Authors: Evangelos Petroutsos, Pages: 1153, Published: 2002
Visual Basic 6 Programming Authors: William Marcus Alex Levy, Pages: 0, Published: -1
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Mastering Delphi 7 Authors: Marco Cantù, Pages: 1040, Published: 2003
Cascading Style Sheets: The Definitive Guide Authors: Eric A. Meyer, Pages: 453, Published: 2000
Student's Essential Guide to .NET Authors: Tony Grimer, Pages: 366, Published: 2004
Comprehensive Informatics Practices XII Authors: unknown, Pages: 0, Published: -1

Web:
TreeView Simple Question..... - ASP.NET Forums TreeView Simple Question..... Last post 03-29-2006 11:19 PM by bobek007. 2 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
simple question about treeview control - ASP.NET Forums Re: simple question about treeview control. 10-09-2008, 2:59 PM. Contact ... Re: simple question about treeview control. 10-09-2008, 3:29 PM. Contact ...
CodeProject: Easy DHTML treeview. Free source code and programming ... The whole idea of the 'Easy DHTML Treeview' is using simple HTML tags such ... I got a lot of questions about the treeview so I'd just answer some of them ...
TreeView TreeView is a simple program for displaying phylogenies on Apple Macintosh and ... There is a list of Frequently asked questions (please consult this before ...
Okoboji: a lake, a mythical university, Kevin Moore's blog ... There was a question in Avalon newsgroup that mentioned my TreeView sample . The question: can one bind. Anonymous comments are disabled ...
Search Treeview Ok, I have a simple question but I don't think there is a simple answer. I want to: -search a Treeview node.text property for a value input ...
Simple question on Treeview? - Net Tech Guide Newsgroups Simple question on Treeview? C Sharp. ... >Subject: Simple question on Treeview? >Date: Thu, 4 Mar 2004 10:36:08 -0800 >Lines: 6 ...
Very simple treeview question - Dev Shed Very simple treeview question- Visual Basic Programming. Visit Dev Shed to discuss Very simple treeview question.
Just a simple tree view - C++ Just a simple tree view. Question posted by: Eitan Herman (Guest) on July 22nd, 2005 06:36 AM. What do i need to add to get something ...
Simple TreeView Jan 9, 2007 ... This is a simple script diplaying a simple treeview from a list of 'folders' and 'files' ordered in an html list an designed using CSS and 4 ...

Videos:
ASP tree view customization Sample with Microsoft CRM,
Creatoon - 4th test - keeping pivot points locked to a body It was easy to find out how to create a pivot point for any or all elements in an object (in this case, the grumpy old man). It took a little bit lon...
MusicLab RealGuitar 2L Review http://www.floridamusicco.com/proddetail~prod~realguitar%5F2l.htm f you are serious about creating truly realistic sounding solo and accompaniment gu...
Windows XP and VISTA Secrets.(Make Your Computer Faster) In Windows XP everytime you open My Computer to browse folders XP automatically searches for network files and printers. This causes a delay in displ...
Structuring Personal Information When Everything Can Be Saved and Searched... Google TechTalks May 17, 2006 William Jones William Jones is an Research Associate Professor in The Information School at the University of Washingt...




Search This Site:










let asp engine render html code - not xhtml code ...???

how to add dynamically created sitemap-files per code to the web.config <sitemap><providers> section?

submitting a form in a contentplaceholder from a javascript function on the master page?

how to move web.sitemap

changing masterpage label from masterpage code behind

creating tabs using anchor text and table

checked custom treenode appearance

context menu in the treeview control 2.0

extending custom sitemap provider

treeview rootnode text

link dropdown list to aspx page

use masterpage on more folders

standard theme

default focus

how to call multiview(view) from masterpage

asp:menu gives server error

calling a masterpage class method

load different web.sitemap file based on the user

menuitem with masterpage problem

html form won't work from within contentplaceholder

treeview!

hide a tree node at runtime

master page sites and cookies

howto register a clientscript in a page using nested masterpage

user control data transfer

using treeview as navigation -> expand childnodes

registering controls in masterpage and use them in pages?

excluding a page from using master page

jumbled controls on master page

applying different header properties

  Privacy | Contact Us
All Times Are GMT