Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 19th, 2007, 09:21 AM
Registered User
 
Join Date: Jul 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default booking system

On running the availability checker, where it lists all the rooms with the available times, is there a way to create links for those rooms that would launch a pop up window with a little description about that particular room. Or if anyone can suggest any other way. Basically,I have description for each room that needs to be displaced to the user before the users clicks to book the room.Any ideas on how to accomplish that????
 
Old July 19th, 2007, 04:17 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

It depends a little bit on your setup...

If you extended the BookingObject class with a description, you could use a data control like a Repeater to present the data. Similar to how the drop down list is built (possibly with the same data source) you can bind that Repeater so it shows a list of the available BookingObjects. Each BookingObject has a unique ID which you can use to create the popup.

If you add a HyperLink or another control to trigger a popup, you can forward the unique ID of the BO to the popup. Inside the popup, you can read the ID from the query string, and then call GetBookingObject on the BookingObjectManager class to get the details of the BO.

Does this help??

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Appointment Booking System newbie07 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 July 18th, 2007 08:32 AM
What's the logic behind this Hotel Booking system? ivanhalen Classic ASP Professional 0 September 23rd, 2005 06:41 PM
booking system: first time using dates whyulil Classic ASP Basics 1 October 13th, 2004 09:03 PM
Access 97 and a booking system narelleallen Access 2 June 24th, 2004 10:04 AM
Celendar Booking System acdsky Classic ASP Basics 0 March 31st, 2004 02:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.