Strange PRoblem With UserControls VS.NET 2005

  • Thread starter João Santa Bárbara
  • Start date
J

João Santa Bárbara

Hi all.
i have a strange problem
i have done a User Control, in wich i have placed a few buttons inside it
and place it in an form.
in the previous version of .NET (2003), i have try to access the controls
property of my usercontrol and there were no controls inside it
but now in .NET 2005 i have access the same controls property and it have
there all buttons that i have put inside.

this is very strange, because anyone can have access to my control buttons.

is there any workarround ? for this, or its a microsoft bug ?

thks
JSB
 
K

Ken Tucker [MVP]

Hi,

I created a usercontrol with 3 buttons in vb.net 2003 and vb.net
2005. I had access to the buttons in the usercontrol through the controls
property in both versions. I have used the datagrids controls property to
see if the datagrids scrollbars were visible.

Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top