tabControl bug/issue

csharp Greece
  • 13 years ago
    I am aware that tabcontrol has many issues (which there is a trend from MS to call them limitations but I call them bugs) and unfortunately I am here to add another.

    Here is my sitution: I am using Framework 2.0 for a Winforms app (IDE VS2005 sp 1). I am using a tabcontrol to house many txtBoxes (single and multiline) and comboboxes all databound. When i try to add append a string to a txtbox that is inside the tabcontrol during form load the code is tottally ignored.

    To be more precise: Forms loads and displays data, on second ta i have a multiline txt box that contains the comments the user have entered for the particual record.When try to append the record's id and date created (all valid field in my db and loaded during the load event) the code gets executed the string is appended and when form load exits the txtbox contains just the data from the db field that it is bound, noit my appended string.

    Funny thing is, that when I try doing the same thing with a databound txtbox outside the tabcontrol it works fine (it even works fine when the txtbox is inside a different container like a groupbox) so I am sure that is BUG of tabcontrol. Tried all possible events and allthough they fire they still dont behave as expected.

    If anyone has encountered it and solved or you see me missing something here please let me know otherwise its yet another glorious bug for good ol' MS (cheers lads)!

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Weeks of coding can save you hours of planning.”