Hello.
I have recently been through the book Beginning ASP.NET 4 in C# and
VB and have found a small bug in the code of the
www.PlanetWrox.com web site (i.e. built from the book).
On the Gig Pics page, when you select an item from the drop down list that has more than 3 pictures (i.e. more than one page), go to the next or last page (Next or Last button), then select an album with up to 3 pictures (i.e. one page), the ListView control shows "No data was returned".
For example -
1) go to
www.planetwrox.com
2) Select Gig Pics from menu
3) Select Pam's Pics from drop down
4) Click the "Last" button
5) Select Bubba Lines from the dropdown - "No data was returned" is shown
6) Select Brothers In Arms from dropdown - Album cover pic shows
7) Re-select Bubba Lines from dropdown - now we see a pic of Mr Incredible
I presume that there's a nice easy fix for this... some C# code for the dropdown On Select method to initialise the ListView, perhaps.
I would really appreciate it if someone could advise.
Many thanks.