In the course of writing my application, I have come across several =
issues that seem to be Microsoft bugs.
Following is a summary and possible workarounds.

Jeffrey Tan, if you are reading this, please verify.
Also, I'd like to know how to request fixes for these issues.


1) Sometimes the designer decides to spontaneously rearrange the tabs in =
a TabControl.
Status: Verified "known issue" - "Tab control TabPage order is =
randomized"

Workaround #1, suggested by Herfried K. Wagner
Make sure you have always the first tab selected when recompiling

Workaround #2: Delete and recreate the tabs after the call to =
InitializeComponent()

// Sample
pages =3D new TabPage[] { pageOne, pageTwo, pageThree, pageFour, =
pageFive };
myTabControl.Controls.Clear();
myTabControl.Controls.AddRange(pages);


2) BeginUpdate/EndUpdate does not work correctly when adding a single =
item to a sorted ListBox
Status: Verified "known issue"

Workaround #1: Check the number of items to update and only perform =
BeginUpdate/EndUpdate if >1.

if (items.Count > 1)
myList.BeginUpdate();
myList.Items.AddRange(items);
if (items.Count > 1)
myList.EndUpdate();

Workaround #2: Toggle the Sorted property.

// Sample
myList.BeginUpdate();
bool bug_workaround =3D myList.Sorted;
myList.Sorted =3D false;
myList.Items.AddRange(items);
myList.Sorted =3D bug_workaround;
myList.EndUpdate();


3) A DataGrid leaves text on the screen after deleting a row containing =
a selected (highlighted) cell.
Happens when the columns are set to read-only, mostly visible when =
deleting the last row.
Status: Verified "known issue"

Workaround: Set the read-only property of the whole DataGrid to true and =
the read-only properties
of the individual DataGridTextBoxColumn items to false.
Don't know about cases when only some columns need to be read-only.


4) A DataGrid on a TabPage loses the data binding if the is deleted from =
the TabControl.
Since the only way to hide tab pages is to remove them, it is relevant.
Status: Happens on my machine...

Workaround: un-bind and re-bind the DataGrid when removing & re-adding =
the tab page.


Those are the bugs that I encountered.
If you know of more, please post.

--=20
Address email to user "response" at domain "alexoren" with suffix "com"

RE: Several bugs and workarounds by v-jetan

v-jetan
Thu Apr 21 22:40:13 CDT 2005

Hi Alex,

Yes, I see your concern. But we can not get the hotfix from the newsgroup
support.
Looking at the nature of your issue, I suggest you directly contact
Microsoft Support Professional through Microsoft Product Support Services.
With Microsoft PSS, you can request hotfix for certain issues. Once it is
confirmed as bug by PSS, this case support will be free.

You can contact Microsoft Product Support by contacting us at
1-(800)936-5800 or by choosing one of the options listed at
http://www.microsoft.com/services/microsoftservices/supp.mspx

Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Re: Several bugs and workarounds by Alex

Alex
Fri Apr 22 10:02:22 CDT 2005

Hello Jeffrey,

""Jeffrey Tan[MSFT]"" <v-jetan@online.microsoft.com> wrote in message =
news:8MBB7zuRFHA.11192@TK2MSFTNGXA01.phx.gbl...
> Yes, I see your concern. But we can not get the hotfix from the =
newsgroup=20
> support.=20

Could you please comment on the issues and the suggested workarounds?

Thanks.

--=20
Address email to user "response" at domain "alexoren" with suffix "com"

Re: Several bugs and workarounds by v-jetan

v-jetan
Mon Apr 25 01:39:28 CDT 2005

Hi Alex,

Thanks for your feedback.

I am not sure what comment you want me to give. Do you want me to confirm
these bugs one-by-one?

Yes, ammong these 4 issues, the #3 issue has been confirmed by me, and the
workaround is also I suggested. For #1, I can also confirm it as a bug. But
I did not test that MVP's workaround for it. Anyway, if it works for you,
if should be a valid workaround.

For #2 and #4, I still can not confirm them as bugs. Because you want to
get hotfix from Microsoft PSS, I suggest you direct work with the PSS
engineer for the confirmation of these issues, this way will cost less time
and more effectively.

Anyway, if you still want my work on #2 and #4, I will work with you
one-by-one, but because of the nature of newsgroup, I think this will be
much slower than PSS case support. Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.