468,761 Members | 1,802 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,761 developers. It's quick & easy.

Strange PRoblem With UserControls VS.NET 2005

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


Nov 23 '05 #1
1 895
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
-------------------
"Joăo Santa Bárbara" <jo****@i24portugal.com> wrote in message
news:OP**************@tk2msftngp13.phx.gbl...
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

Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Justice Gray | last post: by
1 post views Thread by Joe | last post: by
reply views Thread by David Pratt | last post: by
reply views Thread by campwes | last post: by
reply views Thread by seigo | last post: by
4 posts views Thread by Nathan Sokalski | last post: by
reply views Thread by Daniel Magliola | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.