Bug in Asp.Net Form design

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
 
G

Guadala Harry

"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
 
W

WJ

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top