tags:

views:

7

answers:

0

Hi,

I have a usercontrol UC1 which has a combobox and a button. From the constructor, after initializing all the controls, I am populating the combobox with an array of information brought from other class library. I have kept the UC1 on windows form. When I tried to open the form's designer I see some errors and a suggestion to rebuild to fix the errors. After searching over net I found that the logic of populating the combobox is the culprit. I changed the code with an additional check of null and the issue is fixed now. My question is, how am i able to see the same usercontrol seperatly in designer view, but not when i placed the UC1 on a form and trying to see the designer view for the form? The same combobox populating logic should affect the drawing of UC1 when I try to see it in designer view right?

Thanks, AK.