-
controls disappeared
Does anybody have this problem too:
Controls on my webform keep disappearing from time to time, while they are mentioned in the vb code behind the aspx page.
The Textbox1 is gone on the form, but is declared as Protected WithEvents in the vb-code...
I don't understand this... :confused: :confused:
Dozo
-
Controls often get hiden on complicated pages. Just go to the properties tab - select your control and set its top and left properties to 0. Up it will pop in the top left hand corner of your page.
-
I'm having the same problem ... i'm currenlty missing 7 textboxes and 8 labels which had been placed inside a GroupBox ??
I can see the controls in the properties tab but when I select them and change their positions to 0, 0 they are still nowhere to be seen :confused: :confused:
Anyone know how else I might be able to retrieve them ?
-
I have had trouble with using Docking sometimes that sounds similar; what I do is select the "missing" control with the Properties tab as suggested, Shift-Delete and Shift-Insert (cut/paste). A downside to doing this is that it breaks any event handlers you had associated to that control - the function stays there but the "Handles btnOK.Click" portion of the declaration gets taken out by the IDE when you cut the control. Wasn't a big deal for me to type it back in though.
Hope this helps!