Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 4th, 2003, 02:36 AM
Registered User
 
Join Date: Jun 2003
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default architecture problem with all web forms

Opening ThePhile web forms within VS.NET, making changes to the html and selecting Design mode will regenerate the automatic codebehind to reflect the changes. What happens (ad infinitum), and which stuffs everything up is:

'original code
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
    AddHandler Me.Load, AddressOf Page_Load
End Sub

Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
etc.

turns into:

'altered code, which fails to initialise the forms
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()

End Sub

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
etc.

The only way I can see to get ThePhile to work again is to manually reset the change. This is very annoying particularly because it doesn't always happen, and often you don't find out until after recompiling and running the app, and you have to do it all over again, wasting considerable time.

Does this situation have anything to do with AutoEventWireup="false" which is set for all of ThePhile web forms?
  #2 (permalink)  
Old August 12th, 2003, 09:12 AM
Registered User
 
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Has anyone found a fix to this problem? It's rather annoying.

  #3 (permalink)  
Old August 12th, 2003, 02:13 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

Maybe these KB articles help:

http://support.microsoft.com/default...;EN-US;Q820769

or

http://support.microsoft.com/default...;EN-US;Q822759

or

http://support.microsoft.com/?kbid=324199&sd=msdn

I ran into this issue too, but haven't requested / downloaded a fix yet so I don't know whether it solves your problem or not.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Forms Keith Smith BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 8 February 24th, 2007 02:49 PM
Web Forms issues bluetonic VB.NET 2002/2003 Basics 0 August 6th, 2006 09:12 AM
Multiple web forms submition problem Mystic C# 3 June 14th, 2006 04:53 AM



All times are GMT -4. The time now is 01:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.