Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - VS.Net and ASP.Net ’Helpful’ problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VS.Net and ASP.Net ’Helpful’ problem

 Post Reply Post Reply
Author
CountAnton View Drop Down
Newbie
Newbie
Avatar

Joined: 18 February 2003
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote CountAnton Quote  Post ReplyReply Direct Link To This Post Topic: VS.Net and ASP.Net ’Helpful’ problem
    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? 

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2003 at 10:56am

its a little extreme, but
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
Back to Top
CountAnton View Drop Down
Newbie
Newbie
Avatar

Joined: 18 February 2003
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote CountAnton Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.