Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Treeview - Expand more than one level deep on load
chrisrogeski
#1 Posted : Monday, 14 March 2011 8:23:52 PM(UTC)
Rank: Member

Joined: 15/12/2010(UTC)
Posts: 28
Location: USA

Has anyone tried to get the Treeview control to show more than one level deep at load time?

I first tried changing the RenderDrillDownDepth to 2 or 3, but there seems to be some Java Script that's forcing items to be collapsed.

Here is what I'm trying to do:

Current Appearance:

All Albums:
+ Album 1
+ Album 2

Desired Appreance:

All Albums:
- Album 1
- Folder 1
- Folder 2
- Album 2
- Folder 1
- Folder 2

Roger Martin
#2 Posted : Tuesday, 15 March 2011 5:44:04 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

You'll have to modify gs\controls\albumtreeview.ascx. It is hard-coded to use AJAX callbacks for all albums below the first level.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.