473,804 Members | 3,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange Problem With UserControl in 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 9 '05 #1
0 1248

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2771
by: The Mess | last post by:
I recently made a UserControl consisting of buttons in a frame. The problem is that random strange markings appear sometimes under the buttons. They can be 'wiped off' with another window, and re-marked also with other windows (by dragging them over). Anyone know the problem and/or the cure? Otherwise things seem to work good. I have been playing around with the cls and refresh methods of UserControl, refresh for the Buttons & Frame, with...
2
3452
by: Tim_Mac | last post by:
hi, i have an aspx page which dynamically loads a user control and adds it to a placeholder. the control is recreated and added to the placeholder for postbacks as well. the user control contains a datagrid and some buttons and textboxes. the button events fire correctly and execute their code. however, the datagrid events fire a postback, and execute Page_load in the usercontrol, but the Item_Command code is not executed. the code to...
3
1792
by: Patrick.O.Ige | last post by:
I created a USERCONTROL and i want to call a LABEL from an ASPX page. The USERCONTROL is in the ASPX page I have the label :- Label lblstr = new Label(); And displaying using:- lblstrp.Text=lblstr.Text; <asp:label id="lblstrp" BorderColor="#ff3333" BorderStyle="Dashed" BorderWidth="3" ForeColor="#0033cc" Font-Size="25" Runat="server" Width="55%" BackColor="#ffff00"></asp:label>
5
1256
by: Simon Verona | last post by:
I have a strange problem with a Windows Forms application. It installs and runs fine on my development machine but consistently comes up with errors on any installed machine. I get an error about an unhandled exception as the application starts up. If I go to debugger I get the error showing as : Unhandled exception generated: (0x04941b54)
1
2024
by: Peter Proost | last post by:
Hi group I've got a usercontrol containing a textbox and alongside the textbox there's a combobox. I draw this control on top of a grid. So when the user clicks certain columns in the grid the control appears at the right place. This all works just fine except the z-order, at the beginning my usercontrol contained 2 comboboxes and the z-order was ok. But as I said before now it's a textbox and a combobox and since I've changed one of the...
0
262
by: João Santa Bárbara | last post by:
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...
1
1012
by: João Santa Bárbara | last post by:
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...
5
1520
by: Pieter | last post by:
Hi, I'm getting a really terrible and anoying bug/problem in VS.NET 2005: 1. Create a new Windows Application. 2. Add a new class Class1. 3. Add a usercontrol UserControl1. 4. Add a public instance of Class1 to UserControl1 (with WithEvents): "Public WithEvents ThisClass As New Class1". 5. Build the Solution, and put an instance of UserControl1 on Form1.
2
2030
by: **Developer** | last post by:
I have a Form (FV&C) containing a userconrtrol (CF&E) I do a ShowDialog for the form and the form's Load calls a method of the UserControl. The first time I do this the usercontrol appears on the form as I'd expect after the method had been run. The second time I do this the usercontrol appears on the form as if the usercontrols Load had last been run.
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.