473,394 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Visual Studio 2005, User Controls

I have a few classes that extend UserControl:
MyNodePanel: some "fancy" panel
MyBaseDataPanel: a base panel with some generic functionality (has a
collection of MyNodePanels)

Both of those are in a generic library.

I have another UserControl:
OneSpecificDataPanel: extends MyBaseDataPanel
(there will be many of these specific data panels, all contain several
MyNodePanels (among other things)).

So far, I've got all the "designer" variables showing up correctly,
however there's one part I haven't figured out yet.
When I add a few 'MyNodePanel's to 'OneSpecificDataPanel,' I'd like for
it to automatically add a line:
"this.NodePanels.Add(this.newNodePanel);" similar to when you add any
controls to a gui, there's this line:
"this.Controls.Add(this.newControlYouJustAdded );" Except I'd like to
have a collection of the MyNodePanels contained on the specific panels
so I can manipulate them through methods in the MyBaseDataPanel.

Anyone know how to do this? Am I just missing something simple?
Thanks,
PKSII

Apr 3 '06 #1
0 799

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

Similar topics

1
by: Corrie Meyer | last post by:
Announcement: SwiftReports standard edition 1.0 for Visual Studio ..NET 2003 released by UniSwift. We are pleased to announce the first release of a fully-managed reporting tool for the...
11
by: olle | last post by:
Hi everyone. I am an Access developer having worked with Access-dev. projects for many years on Sql server databases and Access. For the internet I have been using traditional asp. But now I have...
1
by: randy1200 | last post by:
In Visual Studio 2003, I could create a new user control such as panel1. The name panel1 would appear in the toolbox under "My User Controls." I could drag this panel1 from the toolbox onto...
0
by: SpotNet | last post by:
Hello News Group, I want to set output\settings folders for Visual Studio .NET 2005 (Standard) to common locations. Ideally I want to have the following D:\Documents and Settings\<My User Goes...
1
by: John Kotuby | last post by:
Hi all, I have experienced several problems after installing SP1 for Visual Studio 2005 Professional. The problems are occurring on 2 different Windows XP SP2 development machines that have been...
3
by: meo | last post by:
Can I use Visual Studio 2005 (VB.NET) develop WAP site? I cannot see the mobile control or any template like a Visual Studio.NET.
1
by: samadams_2006 | last post by:
Hello, I have the following scenario and I was hoping that someone would help me determine the best way to approach this situation in Visual Studio 2005: 1) I have questions in a database...
7
by: Nathan Sokalski | last post by:
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them...
6
by: jonny | last post by:
I am new to web design and programming and was wonder which of these two would be better to invest my time to learn. Visual Web Developer 2005 vs. Microsoft Expression. I would like to make...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...

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.