473,473 Members | 1,906 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

TreeNode subclass

Hello Everybody,
I'm trying to develop an interesting ASP.Net 2.0 application which
uses the TreeView. I've got a number of different node-types from a
laundry list of places with a laundry list of attribution (or
properties if you like).

How do I design the TreeNode subclass so that it retains the various
property-sets between postbacks, and allows it to be strongly typed
too?

Even more so, are there excellent techniques for maintaining the entire
TreeView as I transition to other pages which use the same MasterPage
where the TreeView is defined in a content placeholder. The pages all
show the same TreeView, so regenerating it each time may become time
consuming. The data is not static, but will also not change frequently.

BushMan

Nov 19 '05 #1
0 1024

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stefan | last post by:
Hi NG i need a TreeNode with an attribute "depth", i.g. it has to be possible to skip one ore more levels of the tree explicitly Example Root--Node1--Node Root-----------Node Where do i find...
3
by: Stefan | last post by:
Hi NG i need a TreeNode with an attribute "depth", i.g. it has to be possible to skip one ore more levels of the tree explicitly Example Root--Node1--Node Root-----------Node Where do i find...
3
by: Stefan | last post by:
Hi NG i need a TreeNode with an attribute "depth", i.g. it has to be possible to skip one ore more levels of the tree explicitly Example Root--Node1--Node Root-----------Node Where do i find...
9
by: Mark Allison | last post by:
Hi there, I'm still very much a newbie to C#, and would like to derive from TreeNode to extend the TreeNode class. Here's test program: http://www.vkarlsen.no/pastebin/default.asp?id=4090 I...
8
by: | last post by:
I have the following class : Public Class MyTreeNode Inherits TreeNode Dim mystring As String End Class Now, when I try to do this : ''''''''''''nodes is a TreeNodeCollection, s is string
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.