473,516 Members | 3,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Container Custom Controls

I've played around with Web User Controls, and Web Custom Controls, and even
custom Pages. Getting better all the time...but....(both VB.NET and C#, but
mainly C#)
I'm putting together a control which requires its own type of child controls
within it (similar to the a table needing TRs, THs, and TDs)....how can I
make the control recognise a) whats been put into it and B) (for the
internal bit) what element its inside?

Thanks in advance for your help,
Yours,

Ann-Marie Ratcliffe
Nov 18 '05 #1
0 881

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

Similar topics

0
1310
by: Ken Seier | last post by:
Hello, I'm trying to create a fairly standard custom container control by using the ScrollableControlDesigner attribute. My control has a title bar at the top, and I would like to exclude the title bar area from the container client area in both the designer and at run time so that adding contained controls or using docking does not...
1
1637
by: Chris Newby | last post by:
I have a custom control that derives from the WebControls.Panel class. In a given ASPX document, I have an instance of my custom control with ID set to "MyControl". Then I put a WebControls.TextBox control inside my custom control with ID set to "MyTextBox". When this page renderes, inspection of the HTML source shows that the Name...
1
1303
by: PJ6 | last post by:
I have a simple container that I want to be able to use at design-time - as in, be able to drag a control into it and drop it in. I already went through of some problems in WinForms that this kind of functionality presents, so I don't exactly need it that nice - I'd be satisfied with just manually adding HTML in between the tags of the...
8
2513
by: dominique | last post by:
Hi, Is it possible (in vb.net with WinForms) to loop throw controls inside a container (form or panel) sorting the controls on a property (.tabindex for example) ? My problem : on several forms (or panels), i have many controls (inherited controls from base controls : MyTextbox, MyCombobox ..). I add a new property on these controls :...
2
785
by: Don | last post by:
I have a custom control that inherits the Panel control. Within the custom control I add Button controls to the Me.Controls collection via code. Controls added to my custom panel in this way can be selected in the Form Designer and dragged out of the custom panel control. Is there a way to prevent the user from doing this? (Think the...
3
1597
by: Gary | last post by:
I have a bunch of labels, and want to put in some container, which should be: 1. The number of labels for each column is fixed, say 16/row. And the number of currently displaying rows is fixed, say 10. 2. The number of total rows is unknown before hand. So if it is larger than 10, the vertical scroll bar should be shown up and let the user...
15
6477
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then...
1
2221
by: mnuckols | last post by:
I am trying to create a custom container control for Windows Forms using C#.NET 2.0. My problem is that I want only part of the control to allow other controls to be placed on it at design time. A similar example to what I'm trying to accomplish is a Tab Control. The tab pages of a tab control allow child controls to be added to the page...
5
4080
by: gerry | last post by:
I am trying to create a custom container control that will only ever contain a specific type of control. At design time, when a control of a different type is added to the container I would like to wrap the control in the proper control type - which is also a container. At design time I want to be able to turn this : <my:container>...
0
7182
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7574
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...
0
5712
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...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4769
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...
0
3265
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...
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.