473,395 Members | 1,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

recordset as a treeview

Hello folks,

I have been looking for a means to generate a recordset as a treeview in
pure asp, collapsible/expandable by one field in the set as either a "+" or
"-". Can anyone point me in the right direction? Ideally, I'd like to not
have to generate the entire recordset to deliver this tree view but have
these expandable records generate with an "onclick" or something similar,
but if it can't be help, I could live with it.

Thanks for any guidance,

David Shorthouse

--
______________________________
Remove "_SPAM" to reply directly.
Aug 5 '05 #1
3 1412
"David Shorthouse" <davidshorthouse@shaw_SPAM.ca> wrote:
Hello folks,

I have been looking for a means to generate a recordset as a treeview in
pure asp, collapsible/expandable by one field in the set as either a "+" or
"-". Can anyone point me in the right direction? Ideally, I'd like to not
have to generate the entire recordset to deliver this tree view but have
these expandable records generate with an "onclick" or something similar,
but if it can't be help, I could live with it.


You're talking about a clientside user interface, but ASP is a
server-side platform.

It sounds to me that your thinking about an AJAX (Asynchronous
Javascript And XML) system. Think of Google maps, which can get more
data from the server dynamically as the user drags the map any which
way.

--
Tim Slattery
MS MVP(DTS)
Sl********@bls.gov
Aug 5 '05 #2
Thanks for the feedback. Indeed, I know asp is server-side, but what I was
hoping for is to somehow return recordsets in a hierarchical manner with
client-side onclick javascript.

Thanks,

Dave

"Tim Slattery" <Sl********@bls.gov> wrote in message
news:84********************************@4ax.com...
"David Shorthouse" <davidshorthouse@shaw_SPAM.ca> wrote:
Hello folks,

I have been looking for a means to generate a recordset as a treeview
in
pure asp, collapsible/expandable by one field in the set as either a "+"
or
"-". Can anyone point me in the right direction? Ideally, I'd like to not
have to generate the entire recordset to deliver this tree view but have
these expandable records generate with an "onclick" or something similar,
but if it can't be help, I could live with it.


You're talking about a clientside user interface, but ASP is a
server-side platform.

It sounds to me that your thinking about an AJAX (Asynchronous
Javascript And XML) system. Think of Google maps, which can get more
data from the server dynamically as the user drags the map any which
way.

--
Tim Slattery
MS MVP(DTS)
Sl********@bls.gov

Aug 5 '05 #3
"David Shorthouse" <davidshorthouse@shaw_SPAM.ca> wrote:
Thanks for the feedback. Indeed, I know asp is server-side, but what I was
hoping for is to somehow return recordsets in a hierarchical manner with
client-side onclick javascript.


I think that you're either going to have to make the "+" sign or level
name a hyperlink and refresh the entire page when it's clicked, or
investigate AJAX.

--
Tim Slattery
MS MVP(DTS)
Sl********@bls.gov
Aug 5 '05 #4

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

Similar topics

15
by: U N Me | last post by:
I have a continuous form that lists records from a query. One of the columns is an amount field, In the footer of the form I place a text box that displays the total (sum) of the amount. The...
5
by: SoKool | last post by:
Can anyone point me to a site where I can get a free treeview control to use in ASP .NET or any tutorial that can help me build my own treeview control. I intend to use a treeview to generate a...
3
by: Peter | last post by:
Hello, We are inserting a side menu to our application using a class that is writing HTML on all our pages. This is a part of the code as an example: writer.Write(" <table WIDTH=""100%""...
6
by: L.M | last post by:
Hello, I knew how to use the treeview under VB6. After migrating to .NET, well, I'm lost. I try to add a new node, either to the same level or as a child to a selected node in the treeview....
14
by: Mr.D | last post by:
How do I save/load the contents of a Treeview to a file? I have found several good examples written i VB6, but not a single one for VB.NET. Please help. ---- Tim
3
by: christof | last post by:
I've got a really easy problem, please help me: There are two pages in one I'm creating a TreeView like that: TreeView dbTree = new TreeView(); TreeNode dbTreeRoot = new TreeNode("Root");...
2
by: Tymbow | last post by:
I'm building a web application that is analogous to the Windows XP file explorer in function. The left column contains a TreeView, and the right column a DataGrid populated by selecting TreeView...
1
by: kvicky | last post by:
I am trying to load child nodes to a TreeNode in a TreeView in a ASP.net web application. The Treeview with parent nodes are loaded on a Page_load while doing if( ! ISPostback ) and then in the...
8
by: Matt MacDonald | last post by:
Hi All, I have a form that displays hierarchical categories in a treeview. Ok so far so good. What I was to do is have users be able to select a node in the treeview as part of filling out the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.