.NET usercontrol client area

Mar 1 2005 12:55 PM
I have a .NET UserControl that displays a list when a button on the control is clicked. The functinality mimicks that of a standard combobox. When the list appears, it often extends beyond the client area of the control. I have set the ClientSize property of the control to resize the client area so that the list will display. Unfortunately, if the usercontrol is contained in a panel, or another usercontrol, the list will get cut off at the bounds of its container. This does not happen with the standard combobox, whose list will fully display even when sited in additional container controls. How can I achieve this functionality, so that my list box won't get truncated at the bounds of its container? Any help would be greatly appreciated. Thanks.