Controls disappearing, but can't replace


     I have weird things happening on my webform.  I was in design mode, turned to listen to an office conversation, and when I turned around, a textbox and a combo box were gone.  One of them became a little grey button that said something about couldn't form control or something.  But I deleted it.  Then I tried to replace them.  If I click in the dropdown at the top of the properties box, there is no control listed with the names of the two that are gone.  But if I make a new textbox or combo and try to name them what the old ones were called, it tells me invalid property, a control already exists with that name.  In the HTML code I can't find an instance of those names either.  What happened to me?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ignacio Soler GarciaSolution Architech & Technical LeadCommented:
This happens to me sometimes. Try to look at the Visual Studio automatic generated code and delete any ocurrence of the name of the variables. Then you can add them again. When this happens the best thing it to close the visual studio without saving and restart the vs again. You won't have the GUI corruption.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gleznovAuthor Commented:
Somehow it saved itself.  How do I see the auto-generated code?  Or is that the stuff in the + part at the front of the code?  I'll look there...

gleznovAuthor Commented:
That was it.  Thanks so much!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.