Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Beginning ASP.NET 4 : in C# and VB
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4: in C# and VB by Imar Spaanjaars; ISBN: 9780470502211
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4 : in C# and VB section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 11th, 2011, 12:45 PM
Registered User
 
Join Date: Mar 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Chapter 14 Exercise 3 and solution.

Hello Imar.
Im new to asp.net and web design. But find this book very good.
Question : Im using 3 photo albums with 9 thumbnails per page and 15 to 18 photos in each album, so the Datapager control is used. To get a full picture I have used your solution to excercise 3 on page 747. All is working ok. My problem is getting back from picturedetails.aspx to the Photo album and page from which I selected the thumbnail so I can select another thumbnail from that same page and album to see another large picture. Tried lots of ways but a obvious lack of skill prevents success. A simple button and postbackurl to Default.aspx just gets me back to the First album in the dropdownlist and the first page.
Any suggestion would be grateful.

UncleJeff.
Reply With Quote
  #2 (permalink)  
Old March 11th, 2011, 05:48 PM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 Posts
Default

Hi there,

The pictures are paged within an AJAX UpdatePanel. Its state is lost when you move away from and then return to the page. You could remove the pannel, or implement some sort of state mechanism, such as the history control: http://www.google.com/#sclient=psy&h...44f36fad879a72

Hope this helps,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
UncleJeff (March 14th, 2011)
  #3 (permalink)  
Old March 14th, 2011, 02:15 PM
Registered User
 
Join Date: Mar 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Imar.
Thanks for your time and pointing me in the right direction. I will now get to grips with the History control. Thanks again.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 3 Exercise 4 Solution KurtBergman BOOK: Beginning Visual C# 2010 8 July 16th, 2010 08:13 PM
Chapter 3 - Exercise 4 - Solution gives no output Cryotic BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 2 April 19th, 2010 08:57 AM
Chapter 13 Exercise 3 solution firblazer BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 3 April 19th, 2008 07:16 AM
Solution to exercise 7, Chapter 2 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 May 28th, 2006 04:28 AM
C#: Chapter 14 - Exercise 3 Tchami BOOK: Beginning ASP.NET 1.0 0 November 26th, 2003 01:48 PM



All times are GMT -4. The time now is 02:57 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.