473,385 Members | 1,402 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,385 software developers and data experts.

And for the holy grail...

Sky
Been looking around to get ideas on how to make a TreeList (tree with
columns) from a dataset, and/or xml source.... But getting nowhere.

Any leads, articles that come to mind?

So far, been thinking that the solution is going to lie with some kind of
DataRepeater...but not sure. Has anybody ever heard of using a DataSet
where the records are not in Table format, but in a hierarchical XML format
(where a record has children records which each have more childrens...etc?)

Nov 18 '05 #1
3 1606
I wonder if you could rework Denis Bauer's HierarGrid for that?

http://www.denisbauer.com/ASPNETCont...ierarGrid.aspx

Also saw this:

http://www.codeproject.com/aspnet/applypattern.asp
"Sky" <ne********@nospam.xact-solutions.com> wrote in message
news:ur**************@TK2MSFTNGP12.phx.gbl...
Been looking around to get ideas on how to make a TreeList (tree with
columns) from a dataset, and/or xml source.... But getting nowhere.

Any leads, articles that come to mind?

So far, been thinking that the solution is going to lie with some kind of
DataRepeater...but not sure. Has anybody ever heard of using a DataSet
where the records are not in Table format, but in a hierarchical XML
format
(where a record has children records which each have more
childrens...etc?)


Nov 18 '05 #2
There is a sample in Stephen Walther's book Asp.Net Unleashed that binds the
IE treeview control to an xml file.

--

Alphonse Giambrone
Email: a-giam at customdatasolutions dot us
"Sky" <ne********@nospam.xact-solutions.com> wrote in message
news:ur**************@TK2MSFTNGP12.phx.gbl...
Been looking around to get ideas on how to make a TreeList (tree with
columns) from a dataset, and/or xml source.... But getting nowhere.

Any leads, articles that come to mind?

So far, been thinking that the solution is going to lie with some kind of
DataRepeater...but not sure. Has anybody ever heard of using a DataSet
where the records are not in Table format, but in a hierarchical XML format (where a record has children records which each have more childrens...etc?)

Nov 18 '05 #3
Sky
Dear Ken:
Thanks for the pointers: the first I knew about -- but turned down to being
too tied to datasets and datagrids (and his warning that he is not sure how
deep it can go before falling apart) --
but the second project, although not exactly what i was looking for, looks
really really like a good find as to a mind-opener.... I'll be spending some
time this weekend pulling it apart to get a grip on what exactly it is
doing.

I think that what I was after -- and probably will have to do myself is the
following.

A preamble: about 6 months ago I was working in php -- and built an treegrid
that built itself via JS on the clientside, from an xml 'home-brew dataset'
that fetched/refreshed nodes...no need to refresh the whole page.
In fact all projects I was doing at that point were about decreasing the
page refresh, and dynamically including JS, HTML, CSS, as needed into the
pages. Getting HTML to look like Flash!

The only problem with this direction was the php: the non-ability to wrap up
my code as components and be done with it: with all my files always being
cross-related, all my projects were ... 'fragile'. Hence looking at ASP.NET
to do [redo!] components/apps as modules to plug-in to whatever project/app
I was working on at that point.

My huge disappointment was the architecture of ASP.NET based on Get/Post and
form elements. I thought we had gotten past that form stuff like 5 years
ago, and now that we had xmlhttp we could do this non-refresh stuff for all
controls. Big mistake. Not only was the viewstate huge, but the actual page
refreshes were consuming bandwidth -- as well as server time to
build/rebuild the interfaces.

So I am looking for a treegrid -- or the beginnings of one that I can
finish, or insight/guidance from someone who knows more about asp.net than
me (that includes just about anyone at this point ;-[ !!! ) that:

a) Reads a datasource tables -- or several, if held together by one or more
ParentID, ChildID tables ,
b) Builds an [xml? only datastructure I can use?] tree of nodes to hold this
info together as one block
c) Pass this xml to a [unknown: can a DataRepeater be used here] to build
the first tree
d) Send this to client along with JS to do SOAP calls ("need children of
node no 3") and add new rows to the grid on client upon return
e) A Service that can accept calls for more nodes -- and update the backend
xml 'tree' so that if the person hits refresh at any point the clientside
and serverside trees are in synch and therefore would render everything
exactly as is--just that it was built server side, rather than clientside
this time....

Yeah. Pretty obnoxious of me to want to throw out the baby with the
bathwater (disregard the DataGrid and ilk) but --- for one, I think this
control covers enough "areas" of asp.net that I will learn a lot...b) I
think it will liked...
What do you think of my mad capper?

PS: again, thanks for the good pointers to that article.
Sky
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:ec**************@TK2MSFTNGP10.phx.gbl...
I wonder if you could rework Denis Bauer's HierarGrid for that?

http://www.denisbauer.com/ASPNETCont...ierarGrid.aspx

Also saw this:

http://www.codeproject.com/aspnet/applypattern.asp
"Sky" <ne********@nospam.xact-solutions.com> wrote in message
news:ur**************@TK2MSFTNGP12.phx.gbl...
Been looking around to get ideas on how to make a TreeList (tree with
columns) from a dataset, and/or xml source.... But getting nowhere.

Any leads, articles that come to mind?

So far, been thinking that the solution is going to lie with some kind of DataRepeater...but not sure. Has anybody ever heard of using a DataSet
where the records are not in Table format, but in a hierarchical XML
format
(where a record has children records which each have more
childrens...etc?)

Nov 18 '05 #4

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

Similar topics

0
by: Fuzzyman | last post by:
I've been looking for a Tk widget to render basic HTML (as a simple way of building formatted text documents)...... Short of implementing a parser myself that would only ever cover a very small...
1
by: teak | last post by:
where can somone download a Grail browser for linux? Does anyone have a link? Thanks Tino
3
by: Steven T. Hatton | last post by:
This is from the C++ Standard: ISO/IEC 14882:2003(E) Any deviation from the text in the Standard document is an unintentional transcription error on my part. I'm fairly confident about the...
5
by: Dustan | last post by:
Does anybody know anything about Grail? I've been unable to get at it, and I've tried on both Windows and Macintosh machines. http://grail.sourceforge.net/
0
by: booktwo | last post by:
Back from Africa, where I was a secular missionary in the Kayon Ghozi's leprosary (Burundi) because of health reasons, I wrote these lucky Flashes of mine, which got a resounding success ,on...
4
Subsciber123
by: Subsciber123 | last post by:
Does anybody know where I can download a WORKING version of the Grail web browser? The one at http://grail.sourceforge.com/ has so many errors and exceptions in it that I cannot possibly fix them all...
18
by: BobTheBowler | last post by:
Hi Spent the past week looking at CSS renderings of "liquid" 3-column pages (with both Header and Footer that can also grow). On testing, none of them seem fully cross-browser campatible. ...
4
by: TamusJRoyce | last post by:
Looking at various Holy Grail techniques for html layouts, I came across Faux Positioning Layout. What I'm curious about is the differences between the two. I have no understanding of the Holy...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.