Repost: Allow certain area of a treeview webcontrol to post

From: John (a_at_b.com)
Date: 04/02/04


Date: Fri, 2 Apr 2004 14:17:41 +0200

Hi all,

I've posted this before but received no answers and it is an issue . . .

One of my pages is using a treeview webcontrol. I load the treeview with
data which only has two levels (i.e. parents and their children).

My question is how can I code the treeview so only once a user has clicked
on one of the children, a postback is performed and the relevant
SelectedIndexChange event is fired server-side?

Regards
John.



Relevant Pages

  • disabled treeview looks ugly
    ... i have a treeivew with items the user can click on to load a page into ... so i tried disabling the treeview. ... the same, but the items go grey background color, and in my opinion ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Globa Variables And TreeViews
    ... not to mention the javascript probably ... Much better to load just the top 1 or 2 levels of the treeview, ... dynamically load the rest. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Globa Variables And TreeViews
    ... So this means even if I create and populate the treeview variable in ... "Lowell Heddings" wrote: ... > that your treeview is way too big on the initial load. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Treeview is slow as its getting bigger.
    ... Are there any third party controls that will load the treeview on demand for me or do I have to write it myself? ... I already have the screen updating as the treeview is loading so that the person can at least start looking at it. ... I don't think you'll find a free control for NET. ... The best one is Mike Lischke's Virtual Tree View which is free, but it's written in Delphi which has a somewhat different community spirit! ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Folder Recursion
    ... I am using recursion routine to scan a disk and load a ListView. ... Replace DirListBox control with Treeview. ... Private Sub Form_Load ...
    (microsoft.public.vb.general.discussion)