Print Page | Close Window

VS.Net and ASP.Net ’Helpful’ problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: ASP.NET Discussion
Forum Description: Discussion and chat on ASP.NET related topics.
URL: https://forums.webwiz.net/forum_posts.asp?TID=3595
Printed Date: 28 March 2026 at 4:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: VS.Net and ASP.Net ’Helpful’ problem
Posted By: CountAnton
Subject: VS.Net and ASP.Net ’Helpful’ problem
Date Posted: 17 June 2003 at 3:39am

We have a problem with Visual Studio.Net trying to be helpful and getting it wrong.

Basically we have created an abstract page class that contains common initialisation code, including a common control for html header information, and a sidebar, and the data sources that bind to the side bar to create the common menu system.

This works great and we are able to create multiple pages that all inherit the common structure.  The problem is that because the controls are placed in the html of the actual page, visual studio.net, in trying to be helpful, places definitions for the controls into the child pages automatically.  This causes errors because it clashes with the parent abstact classes definitions.  Does anyone know how to turn this 'helpful' feature off? 



-------------
Anton Channing
http://www.kiamagic.com



Replies:
Posted By: MorningZ
Date Posted: 17 June 2003 at 10:56am

its a little extreme, but
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=185668 - http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=185668

works.. which is something i did on Studio.NET...  i just this weekend bumped my framework up to 1.1 and also installed Studio.NET 2003 and have the designer still on.. so far it's been "managable" w/o going to extreme measures like in the like above



-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: CountAnton
Date Posted: 18 June 2003 at 3:08am
Thanks for the advice.  I'll mention what you say about VS.Net 2003 and framework 1.1 to my boss, but I think we weren't planning to upgrade just yet.  I do know the 1.1 comes with System.Data.OracleClient built in as standard, which would be very useful for us.

-------------
Anton Channing
http://www.kiamagic.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net