473,804 Members | 3,462 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Representing hierachical data on an AJAX page

JJ
I want to be able to display items and their categories on a page, so that
the user can click on an item to edit it, or add further items or
categories.

Simple enough, however, I want to do it on a AJAX page (i.e. without
postbacks). Which control or approach should I use to display the
heirachical data?

I understand that I cannot use Treeview? Does anyone know if this is
correct? Any other approaches?

TIA,
JJ
Jun 27 '08 #1
4 1221
JJ
PS I'm using VS2005 (and not VS2008)

"JJ" <ab*@xyz.comwro te in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>I want to be able to display items and their categories on a page, so that
the user can click on an item to edit it, or add further items or
categories.

Simple enough, however, I want to do it on a AJAX page (i.e. without
postbacks). Which control or approach should I use to display the
heirachical data?

I understand that I cannot use Treeview? Does anyone know if this is
correct? Any other approaches?

TIA,
JJ

Jun 27 '08 #2
the microsoft ajax library is not very ajax'y. its more about richer UI
behaviors than building RIA apps. look at jquery (http://jquery.com) and its
plugins.

You also may want to switch to MVC
(http://weblogs.asp.net/scottgu/archi...3-release.aspx) which better supports RIA apps then webforms.

-- bruce (sqlwork.com)
"JJ" wrote:
I want to be able to display items and their categories on a page, so that
the user can click on an item to edit it, or add further items or
categories.

Simple enough, however, I want to do it on a AJAX page (i.e. without
postbacks). Which control or approach should I use to display the
heirachical data?

I understand that I cannot use Treeview? Does anyone know if this is
correct? Any other approaches?

TIA,
JJ
Jun 27 '08 #3
Why can't you use the Treeview?
It has AJAX capabilities built in.
Here's more info:
http://SteveOrr.net/articles/Ajax.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net

"JJ" <ab*@xyz.comwro te in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>I want to be able to display items and their categories on a page, so that
the user can click on an item to edit it, or add further items or
categories.

Simple enough, however, I want to do it on a AJAX page (i.e. without
postbacks). Which control or approach should I use to display the
heirachical data?

I understand that I cannot use Treeview? Does anyone know if this is
correct? Any other approaches?

TIA,
JJ
Jun 27 '08 #4
JJ
Steve,

I was just going on what seems to be the common sentiment (at least when you
do a search for 'asp.net treeview ajax').
Your page is most information and I will give it a try!

Many thanks
JJ
"Steve C. Orr [MCSD, MVP, CSM, ASP Insider]" <St***@Orr.netw rote in
message news:2E******** *************** ***********@mic rosoft.com...
Why can't you use the Treeview?
It has AJAX capabilities built in.
Here's more info:
http://SteveOrr.net/articles/Ajax.aspx

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net

"JJ" <ab*@xyz.comwro te in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>>I want to be able to display items and their categories on a page, so that
the user can click on an item to edit it, or add further items or
categories.

Simple enough, however, I want to do it on a AJAX page (i.e. without
postbacks). Which control or approach should I use to display the
heirachical data?

I understand that I cannot use Treeview? Does anyone know if this is
correct? Any other approaches?

TIA,
JJ

Jun 27 '08 #5

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

Similar topics

18
1952
by: Mike MacSween | last post by:
I have an app I need a hierachical structure for. There seem to be 3 ways of implementing this, as far as I can see: 1. Adjacency list. Pros - intuitive and relatively simple Cons - not easily accesible via standard SQL, needs recusive queries to crawl up or down the structure. I'll be doing this in Jet or perhaps MS SQL Server, so Oracle's Connect by is out. 2. Nested Sets a la Joe Celko's BOM.
5
2445
by: ggk517 | last post by:
We are trying to develop an Engineering application using PHP, Javascript with Informix as the back-end. Is it possible to retrieve data using Javascript but by accessing the Database. Say somebody enters part_no, than using Javascript is it possible to connect to the part master and retrieve the division and desc information? I am not allowed to use the PHP because this will require the user to insert the part number on the first...
8
1103
by: Jon Vaughan | last post by:
I have a hierachical dataset brought back from a sql server stored procedure with a design as follows : StaffID <Staff Columns> AddressID <Address Columns> StaffID_FK
3
5917
by: petermichaux | last post by:
Hi, I am trying to put together the last major pieces of my project's puzzle. This is more website/client-side architecture than JavaScript syntax but I hope this is a good place to ask. I'm a little stumped with which direction to take and advice would be greatly appreciated. I think this is a generally interesting problem but I haven't seen a post this long here before :S I have developed half of the admin interface for an e-commerce
4
2821
by: Phil | last post by:
Hi. A fairly basic sort of 'direction to go in' question of the type that can be hard to find an answer to! I am using ASP.NET (framework 1.1) to present data on web pages (IIS 5.0 / IE6) from tables (in SQL Server 8). What are the best methods of getting the web page being viewed to update automatically when data in the table changes? Not necessarily a detailed answer, but a good pointer please.
9
1778
by: Leslie Coover | last post by:
http://finance.yahoo.com/ offers a wide range of financial data. Would anyone have (or know where I can get) a sample of code that
3
1364
by: DanWeaver | last post by:
New to asp. using VS2005. I have an HTML page with various elements and moveable graphics- when I make an asp action (selecting some rows from a sql dbase) the whole page is refreshed and I lose the changes I have made ie moving graphics around etc. Is there any way to prevent this?
0
2469
by: BlipBlip | last post by:
Hi All, I was not sure which forum to post the message to since the problem related to ASP/AJAX, but decided to post it here. I have a simple routine which utilizes an Ajax to query database for keywords presence in database and returns matched records count. Below is the code for 2 pages. First page would take an input, post to the second via ajax and displays the returned message. Everything works fine when I use keywords contained Latin...
2
1288
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I have 2 webforms, webform 1 and webform 2. Webform 2 is opened with the selection of a hyperlink on webform 1. I have webform 1 automatically reload when webform to is closed via a close button on webform2. The problem is that several of the controls on webform 1 have data that the user has entered and when they open and close webform 2 the controls are cleared on webform 1 when it reloads. Just wondering if there is a way to save...
0
9588
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10327
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.