 |
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
|
|
|
|

March 13th, 2008, 11:24 AM
|
Authorized User
|
|
Join Date: Sep 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 1 - Two questions
The following is a quote from Chapter 1. "Currently the contacts functionality is fairly simple, with such things as linking events with contacts and automatically e-mailing contacts to remind them of an event".
Unless I am missing something, I don't see how from the project design or from the code that contacts are linked to events or that email automatically gets sent to contacts to remind them of an event. Can you clarify this for me?
I was also wondering why when I run some of the code that a few of the buttons are very wide when they are displayed. (ie. Save Entry and Save Event buttons).
Thanks
|

March 14th, 2008, 04:09 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
I didn't write that chapter, so I can only guess, but could it be a simple typo? Maybe it was meant to read as "is fairly simple, with out such things as linking events".
The size of the buttons is an IE thing. They look fine in Firefox. It's easy to make them work in all browsers by changing left to margin-left:
<asp:Button ID="saveDiaryEntryButton" runat="server" Style="z-index: 105;
margin-left: 530px; position: absolute; top: 280px" Text="Save Entry"
TabIndex="3"
/>
The page uses absolute positioning for layout / design. If you want, you could change it to a fluid design and use divs or tables to position stuff like buttons.
Hope this helps,
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
|

March 14th, 2008, 09:47 AM
|
Authorized User
|
|
Join Date: Sep 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
First I would like to say that I appreciate the response. I bought this book because I read and really liked your series on building layered web applications ( http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=416).
The difference between the with and with out statements is a big one. So just to clarify, Am I correct that the chapter 1 project does not link events and contacts (I have driven myself crazy trying to see how they were linked)?
Thanks
|

March 17th, 2008, 04:55 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Like I said, I didn't write that chapter so I can only guess. However, from looking at the application's source, it looks your assumptions are right.
You may want to file an errata here: http://www.wrox.com/WileyCDA/WroxTit...ew_errata.html
That way, the problem gets reported with Wrox and the author may provide an answer to your question.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|

March 17th, 2008, 07:07 AM
|
Authorized User
|
|
Join Date: Sep 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you very much for getting back to me. I will file an errata report. One last thing if you don't mind. In your post to me you mentioned:
"The page uses absolute positioning for layout / design. If you want, you could change it to a fluid design and use divs or tables to position stuff like buttons."
I am just curious as to which you prefer, absolute positioning or using fluid design with divs and/or tables?
Thanks again.
|

March 17th, 2008, 07:15 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
The latter. While absolute positioning has some benefits (quick to develop, more Windows application-like development experience, especially when targeting a single browser like IE in an Intranet) I often find that flow designs are much easier to maintain, and easier to make cross browser. They also tend to need less code, as it's easier to abstract code for layout and positioning to separate CSS files.
One of the goals of the book is to show you different ways of accomplishing things. You should pick the methodology you like best. Later chapters use different layout techniques, so can choose the one you feel most comfortable with.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
|

March 17th, 2008, 03:59 PM
|
Authorized User
|
|
Join Date: Sep 2005
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks I appreciate all your help.
|
|
 |