Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 October 21st, 2004, 06:11 AM
Authorized User
 
Join Date: Aug 2004
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default ShowArchive.aspx is not working

Hello,

The ShowArchive.aspx is not working and I can't even display it with the VS.NET Designer. Anybody knows why?
Thanks,
Marenela

 
Old October 21st, 2004, 06:38 AM
Authorized User
 
Join Date: Aug 2004
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Eric,

 I found that the Archive page of the polls works on your website http://www.ericengler.com/Modules/Po...owArchive.aspx so why it doesn't work with me from the downloaded code? I can't view it in the VS.NET Designer.
Thanks,
Marenela

 
Old October 22nd, 2004, 10:44 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know if it works in the designer. I found 2 pages that didn't work in the designer. I was able to fix one of them, but not the other. But they still work fine at runtime.

I explained this before - it's due to a bug in Visual Studio. You don't need to edit them in the designer - you can just edit them in the HTML window.

You're going to be in trouble if you try to do much in the designer with this application. The code is a mix of HTML tags and ASP tags, and you can't see all of the important elements in the designer.

I have trouble explaining this to some co-workers, too. You have to understand that Windows apps lean heavily on the Form Designer, but web apps of any complexity require you to work in the HTML Window in many cases. ThePhile uses flow layout, and not grid layout. The tags are hand designed in many cases.

I think you'd like it better if you used Grid layout and did most of your .aspx work in the Forms Designer. This is a valid option, but users with older browsers won't like the way your site looks if you do it this way. You should download Firefox and check out how bad Grid forms look in it. Then look at ThePhile in Firefox - you'll see that ThePhile looks great in it! That's because of the way they hand-designed the tags in the .aspx files. I can see that they spent a lot of time on it - especially in the Forums.

By the way, some of the .aspx pages in ThePhile are actually set to Grid Layout by mistake. You should change them all to Flow layout.

Do some web searches for "flow layout" and "grid layout" for more info. Or, read the Amit Kalani book :-)

Eric





Similar Threads
Thread Thread Starter Forum Replies Last Post
document.element isn't working in aspx page SOLVED logidude ASP.NET 1.0 and 1.1 Basics 2 June 29th, 2007 01:44 PM
aspx file not working kefi2927 General .NET 2 January 7th, 2005 06:46 AM
ShowArchive.aspx groupmatch BOOK: ASP.NET Website Programming Problem-Design-Solution 4 October 19th, 2004 06:42 AM
my aspx.net first page is not working Raz Muhammad .NET Web Services 2 March 7th, 2004 09:06 AM





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