 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 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
|
|
|
|
|

July 16th, 2010, 05:28 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 74
Thanks: 23
Thanked 0 Times in 0 Posts
|
|
Chapter 7 Try it out Page249
This try it out seems something wrong with the final result. My work can not show the By Genre, or All Reviews under the Reviews, either do About. And I tried the source code with the book. The result is the same as mine.
What is wrong? And how to fix it?
Thank you.
|
|

July 18th, 2010, 07:34 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Can you define "My work can not show"? Are you getting errors? And is SQL Server (Express) set up correctly?
Quote:
And I tried the source code with the book. The result is the same as mine.
|
The samples that ship with the book should work as advertised, so maybe your SQL Server installation is not called .\SqlExpress?
Imar
|
|

July 18th, 2010, 01:43 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 74
Thanks: 23
Thanked 0 Times in 0 Posts
|
|
Hello,
Thank you for replying.
For now, it is nothing with the SQL server. The SQL server will be taught in Chapter 11, not Chapter 7. It is just about the Navigation, about the Menu control. In the book of this try it out, the menu has Home, Reviews, About, and Login. And when you move your mouse to the Reviews or About, the submenu shows up. For Reviews, there are By Genre, and All Reviews. And for About, there are Contact, and AboutUs.
There is not any error showing by DMV. And when running the source code with the book, and my code, I move the mouse to Review, it shows a blank submenu, no By Genre shows, no All Reviews shows. That is what I mean "my work can not show".
I hope you could understand what I am talking about.
Thank you again for replying. And have a nice weekend.
|
|

July 18th, 2010, 02:24 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Which browser do you use? And do you see the same behavior at the official Planet Wrox site at www.planetwrox.com?
Finally,did you check out the errata for Chapter 7: http://www.wrox.com/WileyCDA/WroxTit...Cd-ERRATA.html
It has a link to a Microsoft patch to fix menu problems.
Cheers,
Imar
|
|

July 18th, 2010, 11:14 PM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 74
Thanks: 23
Thanked 0 Times in 0 Posts
|
|
Hello, I tried again, really hard. It works.
It may be the version of the IE problem. I moved the code from the computer to another, using the newest IE version. It is fine.
So different version of browsers, different browsers may course problems? What I should deal with different browsers? What should I take attention?
Thank you so much for disucussing the problem with me. I reallly appreciate for that.
|
|

July 18th, 2010, 11:18 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
|
|
This raises a question I was thinking about when going through the client side validation part of the book earlier. Is there a setting in VS where we can say what browser versions the code should be for?
__________________
Wind is your friend
Matt
|
|

July 19th, 2010, 02:24 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
So different version of browsers, different browsers may course problems? What I should deal with different browsers? What should I take attention?
|
IE 8 was released after ASP.NET 3.5 and my book, so it was not possible for me or Microsoft to take any changes into account. Shortly after the release of IE8, Microsoft released a patch that fixes the problem *at the server* so it works for all modern browsers. Check out the link I referred to in the errata for this book.
Quote:
|
Is there a setting in VS where we can say what browser versions the code should be for?
|
No, it renders cross-browser JavaScript that works on all modern browsers so typically you don't need to bother with that.
Cheers,
Imar
|
|

July 19th, 2010, 08:42 AM
|
|
Authorized User
|
|
Join Date: Jul 2010
Posts: 74
Thanks: 23
Thanked 0 Times in 0 Posts
|
|
Thank you so much for your help, Imar. I am very glad to have chance to dicuss with you. I never thought I would have such great chance. Thank you.
|
|
 |