Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locating textbox on multi-page tab form
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01336403
Message ID:
01336427
Views:
12
>>>>>I have a business form with a tab control with 6 pages. I am getting an error on the binding source for one text box. I have been through every text box on every tab and, for the life of me, I can't find the offending text box. I can find it on the list of controls in the properties box but I can't figure out a way to delete it from there and it doesn't provide any information about where it's located. Does anyone have a good idea for either finding or deleting this text box? Thanks.
>>>>
>>>>Is it Web form or Windows form? If it's web form, you just delete it from ASPX file.
>>>
>>>It is a Windows form.
>>
>>Did you try to search for this control in the Forms definition file?
>I searched the Designer.cs file, which I assume is what you are talking about. I can find it in there but it doesn't tell me where to locate it on the design surface. Should I just comment out the code there and see if the problem goes away? It makes me nervous not knowing where the text box has disappeared to.

Try to comment it out there. I'm working with Web Forms mostly, so I may be wrong with my suggestion. It would not hurt to try anyway, I guess.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform