Bug in Asp.Net Form design

  • Thread starter Thread starter WJ
  • Start date Start date
W

WJ

I have a form that had a text control. When I deleted the control using the
Design surface, it was deleted but the text behind was not. Somewhere in the
code behind, I referenced the TextControl, because this line of code failed
to be removed by the designer (protected System.Web.UI.WebControls.TextBox
txtMyName"), the compiler passed! At runtime, an access violation occurred.

John
 
"Bug"

interesting choice of words

If you are riding a bicycle with training wheels on it and pass to close to
a fence post and one of the training wheels gets hooked on the post and you
end up taking a header -- did the training wheels malfunction? Do the
training wheels have a bug because they didn't prevent you from falling?

Just trying here to lend some perspective to expectations of VS.NET vs. any
"bugs" it may have.

Cheers!

GH
 
Your logic does not work here. This is a real bug and I do not think I can
be "cheer..." here. I do not think you understand my message. When you have
3 dozens froms to deal with, it is not fun anymore with a manual process.

Here goes again: Create a webform, drop a dozen of TextControls and Label
controls on it. Save it. Delete some of it using the IDE design UI. Check to
see if all of them being deleted (both visual and non visual items). Then
come back here tell me how you feel about it !

If you do not understand my message, please post it here.

John Webbs
 
Back
Top