RE: UserControl public child Control does not change child Name to match UserControl Name in Designer Repost

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jeffrey Tan[MSFT] (v-jetan_at_online.microsoft.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 08:24:15 GMT

Hi Gregg,

Sorry for letting you wait for so long.

I have done some research into your sample project, and reproduced out your
issue.

It seems that after we modified the usercontrol's name, the child groupbox
did not get notified, and still use original name property, so the
compilation wil faill. But while processing the first compilation, the code
generation detects the parent usercontrol's name is changed, and the child
control's code will be modified to reflect the new chagne. And the second
time compilation will have no problem.

For this issue, I will still spend some time on it and try to find a
workaround for it. 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.