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

Notification

Icon
Error

Album paging and the back button
AndrewMGA
#1 Posted : Tuesday, 2 June 2009 9:51:30 PM(UTC)
Rank: Newbie

Joined: 17/06/2008(UTC)
Posts: 3

Hi Roger,

Not sure if this is a bug or by design but when you have album paging on, go to a page other than page one, select an image and then use the back button (in the browser or with the mouse) you are taken to the first page in the album. I think it should return you to the page that the image you were viewing is on.

Not a huge issue, just thought I'd put it out there.

Thanks again for a wonderful product.
Andy
Roger Martin
#2 Posted : Wednesday, 3 June 2009 12:26:52 AM(UTC)
Roger Martin

Rank: Administration

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

You are absolutely right, and I noticed this when I first implemented the paging. There is a feature in .NET 3.5 that makes it easy to make AJAX calls add to the browser history. But GSP targets .NET 2.0 so I couldn't take advantage of it.

There is a good chance the next major version of GSP will set .NET 3.5 as the required minimum, and I will be sure to add this.

Until then, those of you who like to play with source code can add it today if you are using .NET 3.5. I don't have the exact details for you, but I think you add a history point to the ScriptManager control each time a new page of albums is requested. I think it would be one line of code.
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.