Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to build a database-driven treeview in powersite?

2 posts in PowerSite specific Last posting was on 2001-07-31 14:03:12.0Z
Feng Zhu Posted on 2001-07-31 06:14:27.0Z
Newsgroups: sybase.public.powersite
From: "Feng Zhu" <fzhu_genshare@hotmail.com>
Subject: How to build a database-driven treeview in powersite?
Date: Tue, 31 Jul 2001 14:14:27 +0800
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: 210.75.130.107
Message-ID: <382_L28umtYGBHA.89@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powersite:135
Article PK: 862565

Hi, all.

I want to build a database-driven treeview using powersite, like treeview in
powerbuilder. I do not want to use applet or activex.

Thanks and best regards.

Feng


Roy Kiesler [TeamSybase] Posted on 2001-07-31 14:03:12.0Z
Newsgroups: sybase.public.powersite
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Subject: Re: How to build a database-driven treeview in powersite?
Date: Tue, 31 Jul 2001 10:03:12 -0400
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2479.0006
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2479.0006
NNTP-Posting-Host: host131.percussion.com 208.252.62.131
Message-ID: <382_cE4XF4cGBHA.89@forums.sybase.com>
References: <382_L28umtYGBHA.89@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powersite:134
Article PK: 840497

There are a few JavaScript treeview controls out there. You'll have to write
server-side code to generate JavaScript code (ugly, I know) to do that.
Another option is to return your data as XML and use an XSLT stylesheet to
render the JavaScript code -- note though, that currently, IE is the only
browser capable of performing XSLT transformation in the browser, so there
is a limit there as well.

Personally, I advise you to re-consider your GUI approach, as not every
Windows control lends itself well to HTML. Depending on the number of
records you want to display in the treeview, your pages may become bloated
and slow.

--
<hopethishelps />
Roy Kiesler [TeamSybase]
mySybase -- http://my.sybase.com
http://cgi.exp.com/noauth/advisor_profile.cgi?adv_id=512231

"Feng Zhu" <fzhu_genshare@hotmail.com> wrote in message
news:L28umtYGBHA.89@forums.sybase.com...
> Hi, all.
>
> I want to build a database-driven treeview using powersite, like treeview
in
> powerbuilder. I do not want to use applet or activex.
>
> Thanks and best regards.
>
> Feng
>
>